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
7289fbfe
Commit
7289fbfe
authored
Apr 14, 2010
by
ck
Browse files
Maemo: Do check for valid device confuguration earlier.
parent
5df34cad
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/qt-maemo/maemoruncontrol.cpp
View file @
7289fbfe
...
...
@@ -71,12 +71,16 @@ AbstractMaemoRunControl::~AbstractMaemoRunControl()
void
AbstractMaemoRunControl
::
start
()
{
m_stoppedByUser
=
false
;
emit
started
();
startInitialCleanup
();
if
(
!
m_devConfig
.
isValid
())
{
handleError
(
tr
(
"No device configuration set for run configuration."
));
}
else
{
emit
started
();
startInitialCleanup
();
}
}
void
AbstractMaemoRunControl
::
startInitialCleanup
()
{
{
emit
addToOutputWindow
(
this
,
tr
(
"Cleaning up remote leftovers first ..."
));
const
QStringList
appsToKill
=
QStringList
()
<<
executableFileName
()
<<
QLatin1String
(
"gdbserver"
);
...
...
@@ -113,10 +117,7 @@ void AbstractMaemoRunControl::startDeployment(bool forDebugging)
{
QTC_ASSERT
(
m_runConfig
,
return
);
if
(
!
m_devConfig
.
isValid
())
{
handleError
(
tr
(
"No device configuration set for run configuration."
));
emit
finished
();
}
else
if
(
m_stoppedByUser
)
{
if
(
m_stoppedByUser
)
{
emit
finished
();
}
else
{
m_deployables
.
clear
();
...
...
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