summaryrefslogtreecommitdiffstats
path: root/src/bondwizard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bondwizard.cpp')
-rw-r--r--src/bondwizard.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bondwizard.cpp b/src/bondwizard.cpp
index b0fe2b7..3a7fc17 100644
--- a/src/bondwizard.cpp
+++ b/src/bondwizard.cpp
@@ -113,20 +113,20 @@ bool BondWizard::askClose(){
*/
void BondWizard::reject(){
if (askClose()){
- exit(0);
+ done(0);
}
}
void BondWizard::closeEvent(TQCloseEvent* e){
if ( askClose() )
- exit(0);
+ done(0);
else
e->ignore();
}
/** maybe call a dialog that the wizard has finished. */
void BondWizard::accept(){
- exit(0);
+ done(0);
}
/** calls all save functions after resetting all features/ OS/ theme selections to Trinity default */