summaryrefslogtreecommitdiff
path: root/src/plugins/remotelinux
diff options
context:
space:
mode:
authorDaniel Teske <daniel.teske@nokia.com>2012-05-09 12:44:37 +0200
committerDaniel Teske <daniel.teske@nokia.com>2012-05-09 14:38:16 +0200
commitd05d697ab3009dbdd0b7482ce06a91b801ea7558 (patch)
tree30c3a75d6598610ee29f19f59031e1a313113a0f /src/plugins/remotelinux
parent33144c12a9b0be6c6228f716be5a82bab953d4f5 (diff)
downloadqt-creator-d05d697ab3009dbdd0b7482ce06a91b801ea7558.tar.gz
Catch a few common errors for failing .pro parsing
Task-number: QTCREATORBUG-7377 Change-Id: I43e1393acc09ee4fd923d6796b4a0298fb22ea71 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Diffstat (limited to 'src/plugins/remotelinux')
-rw-r--r--src/plugins/remotelinux/remotelinuxrunconfiguration.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/remotelinux/remotelinuxrunconfiguration.cpp b/src/plugins/remotelinux/remotelinuxrunconfiguration.cpp
index ca58efef24..03e935c8c4 100644
--- a/src/plugins/remotelinux/remotelinuxrunconfiguration.cpp
+++ b/src/plugins/remotelinux/remotelinuxrunconfiguration.cpp
@@ -162,8 +162,8 @@ bool RemoteLinuxRunConfiguration::isEnabled() const
return false;
}
if (!d->validParse) {
- d->disabledReason = tr("The .pro file '%1' could not be parsed.")
- .arg(QFileInfo(d->proFilePath).fileName());
+ Qt4Project *project = qt4Target()->qt4Project();
+ d->disabledReason = project->disabledReasonForRunConfiguration(d->proFilePath);
return false;
}
if (!activeQt4BuildConfiguration()) {