From 8b178447818a585454234791f059ec7d63f2f3ee Mon Sep 17 00:00:00 2001 From: Thunderforge Date: Mon, 29 Jan 2018 21:14:31 -0600 Subject: [PATCH] Replacing Qt5-only method with Qt4-compatible code --- apps/launcher/advancedpage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/launcher/advancedpage.cpp b/apps/launcher/advancedpage.cpp index da142ff26..779556df7 100644 --- a/apps/launcher/advancedpage.cpp +++ b/apps/launcher/advancedpage.cpp @@ -41,7 +41,7 @@ bool Launcher::AdvancedPage::loadSettings() QString screenshotFormatString = QString::fromStdString(mEngineSettings.getString("screenshot format", "General")).toUpper(); if (screenshotFormatComboBox->findText(screenshotFormatString) == -1) screenshotFormatComboBox->addItem(screenshotFormatString); - screenshotFormatComboBox->setCurrentText(screenshotFormatString); + screenshotFormatComboBox->setCurrentIndex(screenshotFormatComboBox->findText(screenshotFormatString)); return true; }