remove configfile and exit(0)

This commit is contained in:
doitux committed 2012-01-06 08:17:56 +00:00
1 parent f472d46974
commit cd3eaaf2b9
3 files changed
+8 -2

No files matched your search

@@ -1376,6 +1376,8 @@ void settingsDialogImpl::resetSettings()
QMessageBox::Yes | QMessageBox::No);
if(ret == QMessageBox::Yes)
{
//TODO delete config.xml and directly close PokerTH
myConfig->deleteConfigFile();
exit(0);
}
}