Fix build on macx.
This commit is contained in:
parent
a05a66b2ae
commit
173703245f
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user