mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
(Qt) Fix segfault when accessing Video Options menu on non-Windows platforms
This commit is contained in:
parent
f2d574fd87
commit
b0c5362da6
@ -1228,7 +1228,11 @@ QWidget *VideoPage::widget()
|
||||
QHBoxLayout *windowedCustomSizeLayout = new QHBoxLayout;
|
||||
FormLayout *leftWindowedCustomSizeForm = new FormLayout;
|
||||
FormLayout *rightWindowedCustomSizeForm = new FormLayout;
|
||||
#if defined(_WIN32) && !defined(_XBOX) && !defined(__WINRT__)
|
||||
CheckableSettingsGroup *savePosGroup = new CheckableSettingsGroup(MENU_ENUM_LABEL_VIDEO_WINDOW_SAVE_POSITION);
|
||||
#else
|
||||
CheckableSettingsGroup *savePosGroup = new CheckableSettingsGroup(MENU_ENUM_LABEL_VIDEO_WINDOW_CUSTOM_SIZE_ENABLE);
|
||||
#endif
|
||||
|
||||
SettingsGroup *syncGroup = new SettingsGroup("Synchronization");
|
||||
CheckableSettingsGroup *vSyncGroup = new CheckableSettingsGroup(MENU_ENUM_LABEL_VIDEO_VSYNC);
|
||||
|
Loading…
x
Reference in New Issue
Block a user