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
3e002e6d
Commit
3e002e6d
authored
Nov 22, 2010
by
Pawel Polanski
Browse files
If no Symbian device is connected to USB port an appropriate message is shown.
Task-Number: QTCREATORBUG-3157 Reviewed-by: Tobias Hunger
parent
b2849c30
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/shared/symbianutils/launcher.cpp
View file @
3e002e6d
...
...
@@ -1022,7 +1022,10 @@ Launcher *Launcher::acquireFromDeviceManager(const QString &serverName,
SymbianUtils
::
SymbianDeviceManager
*
sdm
=
SymbianUtils
::
SymbianDeviceManager
::
instance
();
const
QSharedPointer
<
trk
::
TrkDevice
>
device
=
sdm
->
acquireDevice
(
serverName
);
if
(
device
.
isNull
())
{
*
errorMessage
=
tr
(
"Unable to acquire a device for port '%1'. It appears to be in use."
).
arg
(
serverName
);
if
(
serverName
.
isEmpty
())
*
errorMessage
=
tr
(
"No device is connected. Please connect a device and try again."
);
else
*
errorMessage
=
tr
(
"Unable to acquire a device for port '%1'. It appears to be in use."
).
arg
(
serverName
);
return
0
;
}
// Wire release signal.
...
...
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