author | sandman <sandman> | 2002-07-06 22:05:23 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-07-06 22:05:23 (UTC) |
commit | 345c2059bdcfcde8c03c7ae6332b075705ac0a6f (patch) (side-by-side diff) | |
tree | 8353a4f4ba339c4e9ff0eeccf809e0bdc759091b /core/settings | |
parent | 7c069ad1b76c681282499b157ef9b23ec000947d (diff) | |
download | opie-345c2059bdcfcde8c03c7ae6332b075705ac0a6f.zip opie-345c2059bdcfcde8c03c7ae6332b075705ac0a6f.tar.gz opie-345c2059bdcfcde8c03c7ae6332b075705ac0a6f.tar.bz2 |
Fix for the "dialogs stay on taskbar after closing" bug
-rw-r--r-- | core/settings/light-and-power/light.cpp | 5 | ||||
-rw-r--r-- | core/settings/light-and-power/settings.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/core/settings/light-and-power/light.cpp b/core/settings/light-and-power/light.cpp index 960a165..b56ae11 100644 --- a/core/settings/light-and-power/light.cpp +++ b/core/settings/light-and-power/light.cpp @@ -134,2 +134,7 @@ void LightSettings::applyBrightness() +void LightSettings::done(int r) +{ + QDialog::done(r); + close ( ); +} diff --git a/core/settings/light-and-power/settings.h b/core/settings/light-and-power/settings.h index cec08e3..27c09a7 100644 --- a/core/settings/light-and-power/settings.h +++ b/core/settings/light-and-power/settings.h @@ -38,4 +38,6 @@ protected: void accept(); void reject(); + + void done ( int r ); private slots: |