Fix build on macx.

This commit is contained in:
Roman Telezhynskyi 2021-05-22 10:05:18 +03:00
parent a05a66b2ae
commit 173703245f

View File

@ -1925,7 +1925,7 @@ void VPMainWindow::AboutToShowDockMenu()
QAction *actionPreferences = menu->addAction(tr("Preferences")); QAction *actionPreferences = menu->addAction(tr("Preferences"));
actionPreferences->setMenuRole(QAction::NoRole); actionPreferences->setMenuRole(QAction::NoRole);
connect(actionPreferences, &QAction::triggered, this, &VPMainWindow::Preferences); connect(actionPreferences, &QAction::triggered, this, &VPMainWindow::on_actionPreferences_triggered);
} }
} }
#endif //defined(Q_OS_MAC) #endif //defined(Q_OS_MAC)