mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 03:55:32 +00:00
Simplify m_show_fps assignation
This commit is contained in:
parent
ae156801df
commit
0c1d4e43e4
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ gs_frame::gs_frame(const QString& title, int w, int h, QIcon appIcon, bool disab
|
|||
setIcon(appIcon);
|
||||
}
|
||||
|
||||
g_cfg.misc.show_fps_in_title ? m_show_fps = true : m_show_fps = false;
|
||||
m_show_fps = static_cast<bool>(g_cfg.misc.show_fps_in_title);
|
||||
|
||||
resize(w, h);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue