Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
b2610f87
Commit
b2610f87
authored
Feb 23, 2011
by
dt
Browse files
Qt4ProjectManager: Hide Run qmake for non qt projects
parent
6691357d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/qt4projectmanagerplugin.cpp
View file @
b2610f87
...
...
@@ -200,6 +200,7 @@ bool Qt4ProjectManagerPlugin::initialize(const QStringList &arguments, QString *
qmakeIcon
.
addFile
(
QLatin1String
(
":/qt4projectmanager/images/run_qmake_small.png"
));
m_runQMakeAction
=
new
QAction
(
qmakeIcon
,
tr
(
"Run qmake"
),
this
);
command
=
am
->
registerAction
(
m_runQMakeAction
,
Constants
::
RUNQMAKE
,
m_projectContext
);
command
->
setAttribute
(
Core
::
Command
::
CA_Hide
);
mbuild
->
addAction
(
command
,
ProjectExplorer
::
Constants
::
G_BUILD_PROJECT
);
connect
(
m_runQMakeAction
,
SIGNAL
(
triggered
()),
m_qt4ProjectManager
,
SLOT
(
runQMake
()));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment