OSDN Git Service

QmlProject: Consistently enable/disable debug & run buttons
authorKai Koehne <kai.koehne@nokia.com>
Thu, 10 Jun 2010 07:10:11 +0000 (09:10 +0200)
committerKai Koehne <kai.koehne@nokia.com>
Thu, 10 Jun 2010 08:26:32 +0000 (10:26 +0200)
commitef48306ba74fa46521ac05f3dbba4ce923da2e69
tree7700ab1a3a7e9ea55cf72456d6566e65035f0ae7
parent7f90a96f886435e63db9539415feee795540bf36
QmlProject: Consistently enable/disable debug & run buttons

The heuristics to find the file to run and the logic that decides
whether the show / debug button is shown weren't in sync. Also, don't
try to run .qmlproject files if open in the editor.

Reviewed-by: Lasse Holmstedt
src/plugins/qmlprojectmanager/qmlprojectrunconfiguration.cpp