From 7161a2416c44af8ede6f64f14e0f126f178156c7 Mon Sep 17 00:00:00 2001 From: Jeroen Date: Mon, 21 Aug 2023 22:11:33 +0200 Subject: [PATCH] formatting fixes --- src/yuzu/main.cpp | 3 ++- src/yuzu/util/util.cpp | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 5552e8ad98..0b48f52da3 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -2761,7 +2761,8 @@ void GMainWindow::OnGameListCreateShortcut(u64 program_id, const std::string& ga #endif std::filesystem::path icon_path = icons_path / ((program_id == 0 ? fmt::format("yuzu-{}", game_file_name) - : fmt::format("yuzu-{:016X}", program_id)) + icon_extension); + : fmt::format("yuzu-{:016X}", program_id)) + + icon_extension); // Get icon from game file std::vector icon_image_file{}; diff --git a/src/yuzu/util/util.cpp b/src/yuzu/util/util.cpp index ff0e05cc7f..aeb8a7a0d3 100644 --- a/src/yuzu/util/util.cpp +++ b/src/yuzu/util/util.cpp @@ -112,8 +112,7 @@ bool SaveIconToFile(const char* path, QImage image) { return true; } #else - bool SaveAsIco(QImage image) { return false; - } +} #endif \ No newline at end of file