Skip to content
GitLab
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
460c7c9a
Commit
460c7c9a
authored
Jan 27, 2009
by
dt
Browse files
Fixes: Crash on startup introduced while fixing a bug.
parent
d21668d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/projectexplorer/projectexplorer.cpp
View file @
460c7c9a
...
...
@@ -517,11 +517,6 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er
cmd
=
am
->
registerAction
(
m_runAction
,
Constants
::
RUN
,
globalcontext
);
cmd
->
setDefaultKeySequence
(
QKeySequence
(
tr
(
"Ctrl+R"
)));
mbuild
->
addAction
(
cmd
,
Constants
::
G_BUILD_RUN
);
modeManager
->
addAction
(
cmd
,
Constants
::
P_ACTION_RUN
,
m_runConfigurationMenu
);
m_runActionContextMenu
=
new
QAction
(
runIcon
,
tr
(
"Run"
),
this
);
cmd
=
am
->
registerAction
(
m_runActionContextMenu
,
Constants
::
RUNCONTEXTMENU
,
globalcontext
);
mproject
->
addAction
(
cmd
,
Constants
::
G_PROJECT_RUN
);
Core
::
ActionContainer
*
mrc
=
am
->
createMenu
(
Constants
::
RUNCONFIGURATIONMENU
);
m_runConfigurationMenu
=
mrc
->
menu
();
...
...
@@ -534,6 +529,12 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er
connect
(
mbuild
->
menu
(),
SIGNAL
(
aboutToShow
()),
this
,
SLOT
(
populateRunConfigurationMenu
()));
connect
(
m_runConfigurationMenu
,
SIGNAL
(
triggered
(
QAction
*
)),
this
,
SLOT
(
runConfigurationMenuTriggered
(
QAction
*
)));
modeManager
->
addAction
(
cmd
,
Constants
::
P_ACTION_RUN
,
m_runConfigurationMenu
);
m_runActionContextMenu
=
new
QAction
(
runIcon
,
tr
(
"Run"
),
this
);
cmd
=
am
->
registerAction
(
m_runActionContextMenu
,
Constants
::
RUNCONTEXTMENU
,
globalcontext
);
mproject
->
addAction
(
cmd
,
Constants
::
G_PROJECT_RUN
);
// jump to next task
m_taskAction
=
new
QAction
(
tr
(
"Go to Task Window"
),
this
);
m_taskAction
->
setIcon
(
QIcon
(
Core
::
Constants
::
ICON_NEXT
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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