From 827e06044df4df235912156c730baa3c87717526 Mon Sep 17 00:00:00 2001 From: harlekin Date: Fri, 28 Mar 2003 07:42:56 +0000 Subject: close mediummount on exit .-) --- (limited to 'noncore/settings/mediummount') 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 @@ -65,6 +65,13 @@ void MainWindow::accept() QDialog::accept(); } +void MainWindow::done ( int r ) +{ + QDialog::done( r ); + close (); +} + + void MainWindow::slotGlobalChanged(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 @@ -22,6 +22,7 @@ namespace MediumMountSetting { void slotGlobalChanged(int ); void slotCheckingChanged(int ); void accept(); + void done( int ); private: void init(); QTabWidget *m_tab; -- cgit v0.9.0.2