diff --git a/source/host/ui/config_dialog.cc b/source/host/ui/config_dialog.cc index f3d23a0b6..d202be4f3 100644 --- a/source/host/ui/config_dialog.cc +++ b/source/host/ui/config_dialog.cc @@ -274,7 +274,7 @@ ConfigDialog::ConfigDialog(QWidget* parent) setConfigChanged(FROM_HERE, true); }); - ui.tab_bar->setTabVisible(4, QApplication::keyboardModifiers().testFlag(Qt::ShiftModifier)); + ui.tab_bar->setTabVisible(4, QApplication::queryKeyboardModifiers().testFlag(Qt::ShiftModifier)); //--------------------------------------------------------------------------------------------- // Other