diff options
| author | 2023-08-16 16:28:44 -0400 | |
|---|---|---|
| committer | 2023-08-16 16:28:44 -0400 | |
| commit | e28b93695096a15aa46eb7ffe9ab66a92d7d8330 (patch) | |
| tree | 3170defd0eb3b0f067eeff90708f349d700cf21d | |
| parent | yuzu-qt: Screenshots depend more on the graphics settings (diff) | |
| download | yuzu-e28b93695096a15aa46eb7ffe9ab66a92d7d8330.tar.gz yuzu-e28b93695096a15aa46eb7ffe9ab66a92d7d8330.tar.xz yuzu-e28b93695096a15aa46eb7ffe9ab66a92d7d8330.zip | |
configure_ui: Silence MSVC warning
| -rw-r--r-- | src/yuzu/configuration/configure_ui.cpp | 2 |
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 | |||
| 96 | static u32 ScreenshotDimensionToInt(const QString& height) { | 96 | static u32 ScreenshotDimensionToInt(const QString& height) { |
| 97 | try { | 97 | try { |
| 98 | return std::stoi(height.toStdString()); | 98 | return std::stoi(height.toStdString()); |
| 99 | } catch (std::invalid_argument& e) { | 99 | } catch (std::invalid_argument&) { |
| 100 | return 0; | 100 | return 0; |
| 101 | } | 101 | } |
| 102 | } | 102 | } |