Fixed a build issue on Qt <5.15

This commit is contained in:
Matthias Koefferlein 2023-05-09 19:01:16 +02:00
parent 0b0f62130c
commit 89177b5ffd
1 changed files with 2 additions and 0 deletions

View File

@ -1192,7 +1192,9 @@ UserPropertiesForm::set_meta_info (db::Layout::meta_info_iterator begin_meta, db
m_begin_meta = begin_meta;
m_end_meta = end_meta;
#if QT_VERSION >= 0x50F00
mp_ui->mode_tab->setTabVisible (2, m_begin_meta != m_end_meta);
#endif
mp_ui->meta_info_list->clear ();