From ab8cb739c666f5f22049258a4bcbb06d1e1ad0c4 Mon Sep 17 00:00:00 2001 From: harlekin Date: Fri, 21 Mar 2003 23:38:17 +0000 Subject: even better then poping up an error dialog: make a new profile --- diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp index a6fc30b..3acbfad 100644 --- a/noncore/apps/opie-console/mainwindow.cpp +++ b/noncore/apps/opie-console/mainwindow.cpp @@ -410,12 +410,19 @@ void MainWindow::slotTerminate() { /* FIXME move to the next session */ } + + + + + void MainWindow::slotQuickLaunch() { Profile prof = manager()->profile( "default" ); if ( prof.name() == "default" ) { create( prof ); } else { - QMessageBox::warning(this, tr("Failure"),tr("please configure one profile named \"default\"")); + Profile newProf = Profile( "default", "console", "default" , 0, 3, 0 ); + newProf.setAutoConnect( true ); + create( newProf ); } } -- cgit v0.9.0.2