Diffstat (limited to 'noncore/settings/mediummount/mainwindow.cc') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/mediummount/mainwindow.cc | 7 |
1 files changed, 7 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 @@ -44,32 +44,39 @@ void MainWindow::init() QListIterator<FileSystem> it( fs ); MediumMountWidget *wid; for( ; it.current(); ++it ){ if( (*it)->isRemovable() ){ wid = new MediumMountWidget((*it)->path(), QPixmap(), m_tab ); m_mediums.append( wid ); m_tab->addTab( wid, (*it)->name() ); } } } void MainWindow::accept() { m_global->writeConfig(); MediumMountWidget *confWidget; for ( confWidget = m_mediums.first(); confWidget != 0; confWidget = m_mediums.next() ) { confWidget->writeConfig(); } QDialog::accept(); } +void MainWindow::done ( int r ) +{ + QDialog::done( r ); + close (); +} + + void MainWindow::slotGlobalChanged(int ) { } void MainWindow::slotCheckingChanged(int ) { } |