summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/mediummount/mainwindow.cc7
-rw-r--r--noncore/settings/mediummount/mainwindow.h1
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
@@ -62,12 +62,19 @@ void MainWindow::accept()
confWidget->writeConfig();
}
QDialog::accept();
}
+void MainWindow::done ( int r )
+{
+ QDialog::done( r );
+ close ();
+}
+
+
void MainWindow::slotGlobalChanged(int )
{
}
void MainWindow::slotCheckingChanged(int )
{
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
@@ -19,12 +19,13 @@ namespace MediumMountSetting {
~MainWindow();
private slots:
void slotGlobalChanged(int );
void slotCheckingChanged(int );
void accept();
+ void done( int );
private:
void init();
QTabWidget *m_tab;
QVBoxLayout *m_lay;
MediumGlobalWidget *m_global;
QList<MediumMountWidget> m_mediums;