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
ff9c5976
Commit
ff9c5976
authored
Jul 13, 2010
by
ck
Browse files
Maemo: Fix restoration of run configuration.
parent
6fc00ddc
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/qt-maemo/maemorunfactories.cpp
View file @
ff9c5976
...
...
@@ -81,7 +81,10 @@ bool MaemoRunConfigurationFactory::canCreate(Target *parent,
bool
MaemoRunConfigurationFactory
::
canRestore
(
Target
*
parent
,
const
QVariantMap
&
map
)
const
{
return
canCreate
(
parent
,
ProjectExplorer
::
idFromMap
(
map
));
if
(
!
qobject_cast
<
Qt4Target
*>
(
parent
))
return
false
;
return
ProjectExplorer
::
idFromMap
(
map
)
.
startsWith
(
QLatin1String
(
MAEMO_RC_ID
));
}
bool
MaemoRunConfigurationFactory
::
canClone
(
Target
*
parent
,
...
...
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