summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-08-16 22:28:44 +0200
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-08-16 22:28:44 +0200
commite28b93695096a15aa46eb7ffe9ab66a92d7d8330 (patch)
tree3170defd0eb3b0f067eeff90708f349d700cf21d
parentyuzu-qt: Screenshots depend more on the graphics settings (diff)
downloadyuzu-e28b93695096a15aa46eb7ffe9ab66a92d7d8330.tar
yuzu-e28b93695096a15aa46eb7ffe9ab66a92d7d8330.tar.gz
yuzu-e28b93695096a15aa46eb7ffe9ab66a92d7d8330.tar.bz2
yuzu-e28b93695096a15aa46eb7ffe9ab66a92d7d8330.tar.lz
yuzu-e28b93695096a15aa46eb7ffe9ab66a92d7d8330.tar.xz
yuzu-e28b93695096a15aa46eb7ffe9ab66a92d7d8330.tar.zst
yuzu-e28b93695096a15aa46eb7ffe9ab66a92d7d8330.zip
-rw-r--r--src/yuzu/configuration/configure_ui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/configuration/configure_ui.cpp b/src/yuzu/configuration/configure_ui.cpp
index 8d298993a..34ab01617 100644
--- a/src/yuzu/configuration/configure_ui.cpp
+++ b/src/yuzu/configuration/configure_ui.cpp
@@ -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;
}
}