From 761a4a19aa4b66a13d9e60c0c670fd889268949a Mon Sep 17 00:00:00 2001 From: Rafael Date: Tue, 20 Sep 2016 08:49:46 +0200 Subject: [PATCH] GCC warning fixed --- OptionsDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OptionsDialog.cpp b/OptionsDialog.cpp index f627921..9b6e48f 100755 --- a/OptionsDialog.cpp +++ b/OptionsDialog.cpp @@ -258,7 +258,7 @@ void OptionsDialog::applySettings() bool languageChanged = ui->cbLanguage->itemData(ui->cbLanguage->currentIndex()).toString() != currentLanguage; #endif - if (forceCustomFolder && ui->txtFolder->text() != currentCFolder || forceCustomFolder != currentFFolder && forceCustomFolder) + if ((forceCustomFolder && ui->txtFolder->text() != currentCFolder) || (forceCustomFolder != currentFFolder && forceCustomFolder)) { QMessageBox::information(this, tr("%1", "%1").arg(GTA5SYNC_APPSTR), tr("The new Custom Folder will initialize after you restart %1.").arg(GTA5SYNC_APPSTR)); }