changing parameter in some log-functions; run astyle
This commit is contained in:
1 parent
476ee936f0
commit
800199f6f0
12 files changed
+182
-121
No files matched your search
@@ -491,8 +491,7 @@ void settingsDialogImpl::prepareDialog()
|
||||
if(calledIngame) {
|
||||
pushButton_resetSettings->setDisabled(true);
|
||||
label_resetNote->show();
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
pushButton_resetSettings->setEnabled(true);
|
||||
label_resetNote->hide();
|
||||
}
|
||||
@@ -1382,11 +1381,10 @@ void settingsDialogImpl::showLogFilePreview()
|
||||
void settingsDialogImpl::resetSettings()
|
||||
{
|
||||
int ret = QMessageBox::warning(this, tr("PokerTH - Settings"),
|
||||
tr("Attention: this will delete all your personal settings and close PokerTH!\n"
|
||||
"Do you really want to reset factory settings?"),
|
||||
QMessageBox::Yes | QMessageBox::No);
|
||||
if(ret == QMessageBox::Yes)
|
||||
{
|
||||
tr("Attention: this will delete all your personal settings and close PokerTH!\n"
|
||||
"Do you really want to reset factory settings?"),
|
||||
QMessageBox::Yes | QMessageBox::No);
|
||||
if(ret == QMessageBox::Yes) {
|
||||
myConfig->deleteConfigFile();
|
||||
exit(0);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user