Преглед изворни кода

Comment using fmt instead qt.

boludoz пре 2 година
родитељ
комит
de0b35b974
1 измењених фајлова са 1 додато и 2 уклоњено
  1. 1 2
      src/yuzu/main.cpp

+ 1 - 2
src/yuzu/main.cpp

@@ -3156,8 +3156,7 @@ void GMainWindow::OnGameListCreateShortcut(u64 program_id, const std::string& ga
             this, GMainWindow::CREATE_SHORTCUT_MSGBOX_FULLSCREEN_YES, qt_game_title)) {
         arguments = "-f " + arguments;
     }
-    const std::string comment =
-        tr("Start %1 with the yuzu Emulator").arg(qt_game_title).toStdString();
+    const std::string comment = fmt::format("Start {:s} with the yuzu Emulator", game_title);
     const std::string categories = "Game;Emulator;Qt;";
     const std::string keywords = "Switch;Nintendo;";