Fixing build for old Qt versions

This commit is contained in:
Matthias Koefferlein 2025-09-07 21:43:23 +02:00
parent 128b1e596c
commit aa9d951cf7
1 changed files with 2 additions and 0 deletions

View File

@ -297,7 +297,9 @@ EditorOptionsModalPages::EditorOptionsModalPages (EditorOptionsPages *parent)
ly->addLayout (ly4);
mp_pages = new QTabWidget (this);
ly4->addWidget (mp_pages, 1);
#if QT_VERSION >= 0x50400
mp_pages->setTabBarAutoHide (true);
#endif
mp_pages->hide ();
mp_single_page_frame = new QFrame (this);