Fix debugger detection when running on Linux.
authorFriedemann Kleint <Friedemann.Kleint@digia.com>
Thu, 25 Oct 2012 06:39:23 +0000 (08:39 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 31 Oct 2012 09:34:17 +0000 (10:34 +0100)
commita9dfa72fd199dd62f91764b4321df89ad02794bf
treebec033fb60c7040db46dcdb0f5fd6473ff8940d2
parent524394e37c594807ed874f4926bf13af990358d1
Fix debugger detection when running on Linux.

Newer Linuxes have a symlink named 'exe' to the executable
and 'cmdline' is empty.

Task-number: QTBUG-27632
Change-Id: I45eb2186e2608e9600c4b6b27a033d8b1350deee
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/gui/kernel/qapplication_x11.cpp