From 956117a74f58b433610feb74012ccadb8bd8a6f2 Mon Sep 17 00:00:00 2001 From: scribam Date: Fri, 11 Aug 2017 23:50:08 +0200 Subject: [PATCH] Fix the window title when the option "show_fps_in_title" is not checked --- rpcs3/rpcs3qt/gs_frame.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/rpcs3/rpcs3qt/gs_frame.cpp b/rpcs3/rpcs3qt/gs_frame.cpp index dc2d84e26d..d2be73c747 100644 --- a/rpcs3/rpcs3qt/gs_frame.cpp +++ b/rpcs3/rpcs3qt/gs_frame.cpp @@ -32,6 +32,7 @@ gs_frame::gs_frame(const QString& title, int w, int h, QIcon appIcon, bool disab resize(w, h); + setTitle(m_windowTitle); setVisibility(Hidden); create(); @@ -188,13 +189,6 @@ void gs_frame::flip(draw_context_t, bool /*skip_frame*/) fps_t.Start(); } } - else - { - if (this->title() != m_windowTitle) - { - Emu.CallAfter([this, title = std::move(m_windowTitle)]() {setTitle(m_windowTitle); }); - } - } } void gs_frame::mouseDoubleClickEvent(QMouseEvent* ev)