mirror of
https://github.com/libretro/RetroArch
synced 2025-02-07 21:39:54 +00:00
Merge pull request #12857 from jdgleaver/qt-video-settings-fix
(Qt) Fix segfault when accessing Video Options menu on non-Windows platforms
This commit is contained in:
commit
e5d6d411be
@ -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