-rw-r--r-- | noncore/settings/mediummount/mainwindow.cc | 7 | ||||
-rw-r--r-- | noncore/settings/mediummount/mainwindow.h | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/noncore/settings/mediummount/mainwindow.cc b/noncore/settings/mediummount/mainwindow.cc index bfd1e21..6b37cff 100644 --- a/noncore/settings/mediummount/mainwindow.cc +++ b/noncore/settings/mediummount/mainwindow.cc | |||
@@ -66,4 +66,11 @@ void MainWindow::accept() | |||
66 | } | 66 | } |
67 | 67 | ||
68 | void MainWindow::done ( int r ) | ||
69 | { | ||
70 | QDialog::done( r ); | ||
71 | close (); | ||
72 | } | ||
73 | |||
74 | |||
68 | void MainWindow::slotGlobalChanged(int ) | 75 | void MainWindow::slotGlobalChanged(int ) |
69 | { | 76 | { |
diff --git a/noncore/settings/mediummount/mainwindow.h b/noncore/settings/mediummount/mainwindow.h index 9c648ef..71dac79 100644 --- a/noncore/settings/mediummount/mainwindow.h +++ b/noncore/settings/mediummount/mainwindow.h | |||
@@ -23,4 +23,5 @@ namespace MediumMountSetting { | |||
23 | void slotCheckingChanged(int ); | 23 | void slotCheckingChanged(int ); |
24 | void accept(); | 24 | void accept(); |
25 | void done( int ); | ||
25 | private: | 26 | private: |
26 | void init(); | 27 | void init(); |