forked from qt-creator/qt-creator
Add RunConfiguration::disabledReason
Not used yet Change-Id: I76b3b81282dea4bca97eaf64e297154a20cf2096 Reviewed-on: http://codereview.qt.nokia.com/190 Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
This commit is contained in:
@@ -91,6 +91,13 @@ bool QmlProjectRunConfiguration::isEnabled() const
|
||||
return m_isEnabled;
|
||||
}
|
||||
|
||||
QString QmlProjectRunConfiguration::disabledReason() const
|
||||
{
|
||||
if (!m_isEnabled)
|
||||
return tr("No qmlviewer or qmlobserver found.");
|
||||
return QString();
|
||||
}
|
||||
|
||||
void QmlProjectRunConfiguration::ctor()
|
||||
{
|
||||
// reset default settings in constructor
|
||||
|
||||
Reference in New Issue
Block a user