Don't use stuff that's new in 5.2 if we don't compile with that

This commit is contained in:
Jan Dalheimer 2013-12-30 14:05:53 +01:00
parent 5a7fc1e123
commit c01678a3fa
2 changed files with 5 additions and 5 deletions

View file

@ -40,6 +40,10 @@ SettingsDialog::SettingsDialog(QWidget *parent) : QDialog(parent), ui(new Ui::Se
ui->sortingModeGroup->setId(ui->sortByNameBtn, Sort_Name);
ui->sortingModeGroup->setId(ui->sortLastLaunchedBtn, Sort_LastLaunch);
#if QT_VERSION >= QT_VERSION_CHECK(5, 2, 0)
ui->jsonEditorTextBox->setClearButtonEnabled(true);
#endif
loadSettings(MMC->settings().get());
updateCheckboxStuff();
}