mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-15 19:28:43 +12:00
Fix the window title when the option "show_fps_in_title" is not checked
This commit is contained in:
parent
0c1d4e43e4
commit
956117a74f
1 changed files with 1 additions and 7 deletions
|
@ -32,6 +32,7 @@ gs_frame::gs_frame(const QString& title, int w, int h, QIcon appIcon, bool disab
|
||||||
|
|
||||||
resize(w, h);
|
resize(w, h);
|
||||||
|
|
||||||
|
setTitle(m_windowTitle);
|
||||||
setVisibility(Hidden);
|
setVisibility(Hidden);
|
||||||
create();
|
create();
|
||||||
|
|
||||||
|
@ -188,13 +189,6 @@ void gs_frame::flip(draw_context_t, bool /*skip_frame*/)
|
||||||
fps_t.Start();
|
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)
|
void gs_frame::mouseDoubleClickEvent(QMouseEvent* ev)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue