forked from qt-creator/qt-creator
Utils: Rename ParameterAction into Action
It became the defacto-type for action when ActionBuilder started creating them as default. Change-Id: I1008d60b78ea83919ce1c80a7ef828527fe9902c Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -61,7 +61,7 @@ MesonActionsManager::MesonActionsManager()
|
||||
this,
|
||||
&MesonActionsManager::updateContextActions);
|
||||
|
||||
connect(&buildTargetContextAction, &Utils::ParameterAction::triggered, this, [] {
|
||||
connect(&buildTargetContextAction, &Utils::Action::triggered, this, [] {
|
||||
auto bs = qobject_cast<MesonBuildSystem *>(
|
||||
ProjectExplorer::ProjectTree::currentBuildSystem());
|
||||
if (bs) {
|
||||
|
||||
@@ -13,10 +13,10 @@ namespace Internal {
|
||||
class MesonActionsManager : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Utils::ParameterAction buildTargetContextAction{
|
||||
Utils::Action buildTargetContextAction{
|
||||
QCoreApplication::translate("QtC::MesonProjectManager", "Build"),
|
||||
QCoreApplication::translate("QtC::MesonProjectManager", "Build \"%1\""),
|
||||
Utils::ParameterAction::AlwaysEnabled /*handled manually*/
|
||||
Utils::Action::AlwaysEnabled /*handled manually*/
|
||||
};
|
||||
QAction configureActionMenu;
|
||||
QAction configureActionContextMenu;
|
||||
|
||||
Reference in New Issue
Block a user