summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/mainwindow.cpp
Unidiff
Diffstat (limited to 'noncore/apps/opie-console/mainwindow.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-console/mainwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp
index 27bcc09..415259e 100644
--- a/noncore/apps/opie-console/mainwindow.cpp
+++ b/noncore/apps/opie-console/mainwindow.cpp
@@ -265,24 +265,25 @@ void MainWindow::slotTerminate() {
265} 265}
266 266
267void MainWindow::slotConfigure() { 267void MainWindow::slotConfigure() {
268 qWarning("configure"); 268 qWarning("configure");
269 ConfigDialog conf( manager()->all(), factory() ); 269 ConfigDialog conf( manager()->all(), factory() );
270 conf.showMaximized(); 270 conf.showMaximized();
271 271
272 int ret = conf.exec(); 272 int ret = conf.exec();
273 273
274 if ( QDialog::Accepted == ret ) { 274 if ( QDialog::Accepted == ret ) {
275 qWarning("conf %d", conf.list().count() ); 275 qWarning("conf %d", conf.list().count() );
276 manager()->setProfiles( conf.list() ); 276 manager()->setProfiles( conf.list() );
277 manager()->save();
277 populateProfiles(); 278 populateProfiles();
278 } 279 }
279} 280}
280/* 281/*
281 * we will remove 282 * we will remove
282 * this window from the tabwidget 283 * this window from the tabwidget
283 * remove it from the list 284 * remove it from the list
284 * delete it 285 * delete it
285 * and set the currentSession() 286 * and set the currentSession()
286 */ 287 */
287void MainWindow::slotClose() { 288void MainWindow::slotClose() {
288 qWarning("close"); 289 qWarning("close");