Debugger: Fix attaching to running debug server
authorEike Ziller <eike.ziller@theqtcompany.com>
Thu, 7 May 2015 11:35:21 +0000 (13:35 +0200)
committerEike Ziller <eike.ziller@theqtcompany.com>
Thu, 7 May 2015 12:34:31 +0000 (12:34 +0000)
commit13a947d119c4722461759f1aeb6b61e93e9be210
tree76752b5edfebc069d49588b3cc898a5fab8cecbf
parentd2bb73ffb287e54854696ef9fa684696593dbeea
Debugger: Fix attaching to running debug server

For example when developing on Windows, cross compiling to Linux, the
result is not executable from the Windows perspective.
Reverts f2cfd3c01a2876150aa7fdc0a44adee33029f2c9 which changed the code
to use ExistingCommand to get the automatic expansion of app bundles on
OS X, and do automatic expansion of app bundles also when using path
chooser of type File. Choosing an app bundle in a path chooser of type
File would previously lead to an invalid entry in the path chooser
anyhow, because the app bundle itself is not a file.

Change-Id: Ie710c47918d2b8735009e290301ed2683e354f2c
Task-number: QTCREATORBUG-14412
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: hjk <hjk@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
src/libs/utils/pathchooser.cpp
src/plugins/debugger/debuggerdialogs.cpp