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
c1789f8b
Commit
c1789f8b
authored
Jan 19, 2011
by
Christian Kandeler
Browse files
Maemo: Fix initial Qemu button hiding.
Apparently, we have to hide the action /after/ creating the command.
parent
08d9ebf9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/qt-maemo/maemoqemumanager.cpp
View file @
c1789f8b
...
...
@@ -86,8 +86,6 @@ MaemoQemuManager::MaemoQemuManager(QObject *parent)
QIcon
::
Normal
,
QIcon
::
On
);
m_qemuAction
=
new
QAction
(
"Maemo Emulator"
,
this
);
m_qemuAction
->
setEnabled
(
false
);
m_qemuAction
->
setVisible
(
false
);
m_qemuAction
->
setIcon
(
m_qemuStarterIcon
.
pixmap
(
iconSize
));
m_qemuAction
->
setToolTip
(
tr
(
"Start Maemo Emulator"
));
connect
(
m_qemuAction
,
SIGNAL
(
triggered
()),
this
,
SLOT
(
startRuntime
()));
...
...
@@ -101,6 +99,8 @@ MaemoQemuManager::MaemoQemuManager(QObject *parent)
Core
::
ModeManager
*
modeManager
=
core
->
modeManager
();
modeManager
->
addAction
(
qemuCommand
->
action
(),
1
);
m_qemuAction
->
setEnabled
(
false
);
m_qemuAction
->
setVisible
(
false
);
// listen to qt version changes to update the start button
connect
(
QtVersionManager
::
instance
(),
SIGNAL
(
qtVersionsChanged
(
QList
<
int
>
)),
...
...
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