mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 18:53:28 +01:00
Simplify m_show_fps assignation
This commit is contained in:
parent
ae156801df
commit
0c1d4e43e4
@ -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…
Reference in New Issue
Block a user