summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-10-24 23:12:53 +0200
committerGitHub <noreply@github.com>2018-10-24 23:12:53 +0200
commite6e17a3fc678993fe21ece1a703b50448f132963 (patch)
tree4c937f0fe4ea5726dce3496da892cbc1005ad37f
parentMerge pull request #1563 from lioncash/frame (diff)
parentbootmanager: Use QStringLiteral instead of std::string to represent the window title (diff)
downloadyuzu-e6e17a3fc678993fe21ece1a703b50448f132963.tar
yuzu-e6e17a3fc678993fe21ece1a703b50448f132963.tar.gz
yuzu-e6e17a3fc678993fe21ece1a703b50448f132963.tar.bz2
yuzu-e6e17a3fc678993fe21ece1a703b50448f132963.tar.lz
yuzu-e6e17a3fc678993fe21ece1a703b50448f132963.tar.xz
yuzu-e6e17a3fc678993fe21ece1a703b50448f132963.tar.zst
yuzu-e6e17a3fc678993fe21ece1a703b50448f132963.zip
-rw-r--r--src/yuzu/bootmanager.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/yuzu/bootmanager.cpp b/src/yuzu/bootmanager.cpp
index e8ab23326..39eef8858 100644
--- a/src/yuzu/bootmanager.cpp
+++ b/src/yuzu/bootmanager.cpp
@@ -8,7 +8,6 @@
#include "common/microprofile.h"
#include "common/scm_rev.h"
-#include "common/string_util.h"
#include "core/core.h"
#include "core/frontend/framebuffer_layout.h"
#include "core/settings.h"
@@ -107,9 +106,8 @@ private:
GRenderWindow::GRenderWindow(QWidget* parent, EmuThread* emu_thread)
: QWidget(parent), child(nullptr), emu_thread(emu_thread) {
- std::string window_title = fmt::format("yuzu {} | {}-{}", Common::g_build_name,
- Common::g_scm_branch, Common::g_scm_desc);
- setWindowTitle(QString::fromStdString(window_title));
+ setWindowTitle(QStringLiteral("yuzu %1 | %2-%3")
+ .arg(Common::g_build_name, Common::g_scm_branch, Common::g_scm_desc));
setAttribute(Qt::WA_AcceptTouchEvents);
InputCommon::Init();