mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 08:11:51 +00:00
Fix the window title when the option "show_fps_in_title" is not checked
This commit is contained in:
parent
0c1d4e43e4
commit
956117a74f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user