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
fcdd588b
Commit
fcdd588b
authored
Nov 22, 2010
by
Pawel Polanski
Browse files
Fixed USB detach related bug on Symbian
Task-Number: QTCREATORBUG-3100 Reviewed-by: Tobias Hunger
parent
4b8afa8a
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/qt-s60/s60devicerunconfiguration.cpp
View file @
fcdd588b
...
...
@@ -468,7 +468,6 @@ RunConfiguration *S60DeviceRunConfigurationFactory::clone(Target *parent, RunCon
S60DeviceRunControl
::
S60DeviceRunControl
(
RunConfiguration
*
runConfiguration
,
QString
mode
)
:
RunControl
(
runConfiguration
,
mode
),
m_toolChain
(
ProjectExplorer
::
ToolChain_INVALID
),
m_handleDeviceRemoval
(
true
),
m_launcher
(
0
)
{
// connect for automatically reporting the "finished deploy" state to the progress manager
...
...
@@ -606,7 +605,6 @@ void S60DeviceRunControl::printConnectFailed(const QString &errorMessage)
void
S60DeviceRunControl
::
launcherFinished
()
{
m_handleDeviceRemoval
=
false
;
trk
::
Launcher
::
releaseToDeviceManager
(
m_launcher
);
m_launcher
->
deleteLater
();
m_launcher
=
0
;
...
...
@@ -672,7 +670,10 @@ void S60DeviceRunControl::printApplicationOutput(const QString &output, bool onS
void
S60DeviceRunControl
::
deviceRemoved
(
const
SymbianUtils
::
SymbianDevice
&
d
)
{
if
(
m_handleDeviceRemoval
&&
d
.
portName
()
==
m_serialPortName
)
{
if
(
m_launcher
&&
d
.
portName
()
==
m_serialPortName
)
{
trk
::
Launcher
::
releaseToDeviceManager
(
m_launcher
);
m_launcher
->
deleteLater
();
m_launcher
=
0
;
appendMessage
(
this
,
tr
(
"The device '%1' has been disconnected"
).
arg
(
d
.
friendlyName
()),
true
);
emit
finished
();
}
...
...
src/plugins/qt4projectmanager/qt-s60/s60devicerunconfiguration.h
View file @
fcdd588b
...
...
@@ -188,7 +188,6 @@ private:
QString
m_executableFileName
;
QString
m_qtDir
;
QString
m_qtBinPath
;
bool
m_handleDeviceRemoval
;
trk
::
Launcher
*
m_launcher
;
char
m_installationDrive
;
};
...
...
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