configure_ui: Silence MSVC warning

This commit is contained in:
lat9nq 2023-08-16 16:28:44 -04:00
parent 6fe51b48e9
commit e28b936950

View File

@ -96,7 +96,7 @@ static void PopulateResolutionComboBox(QComboBox* screenshot_height, QWidget* pa
static u32 ScreenshotDimensionToInt(const QString& height) {
try {
return std::stoi(height.toStdString());
} catch (std::invalid_argument& e) {
} catch (std::invalid_argument&) {
return 0;
}
}