mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-09-11 12:56:14 -05:00
Fix coding style issue on RenderWidget.cpp
This commit is contained in:
@@ -208,9 +208,9 @@ void RenderWidget::showFullScreen()
|
||||
{
|
||||
const int monitor_index = Config::Get(Config::MAIN_DISPLAY_MONITOR);
|
||||
const QList<QScreen*> screens = QGuiApplication::screens();
|
||||
QScreen* const target_screen = (monitor_index > 0 && monitor_index <= screens.size())
|
||||
? screens[monitor_index - 1]
|
||||
: QGuiApplication::primaryScreen();
|
||||
QScreen* const target_screen = (monitor_index > 0 && monitor_index <= screens.size()) ?
|
||||
screens[monitor_index - 1] :
|
||||
QGuiApplication::primaryScreen();
|
||||
if (monitor_index > 0)
|
||||
{
|
||||
const QRect geo = target_screen->geometry();
|
||||
|
||||
Reference in New Issue
Block a user