Commit 8fbd3cd3 authored by Tim Jenssen's avatar Tim Jenssen Committed by Thomas Hartmann

QmlDesigner: fix regression from last code cleanup

Task-number: QTCREATORBUG-16516
Change-Id: Ic77d325c131a594f69b6fbbb6b1d6be6374b45a0
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@theqtcompany.com>
parent e065ab2c
...@@ -172,7 +172,7 @@ QList<RewriterError> DesignDocument::qmlParseWarnings() const ...@@ -172,7 +172,7 @@ QList<RewriterError> DesignDocument::qmlParseWarnings() const
bool DesignDocument::hasQmlParseWarnings() const bool DesignDocument::hasQmlParseWarnings() const
{ {
return m_rewriterView->warnings().isEmpty(); return !m_rewriterView->warnings().isEmpty();
} }
QList<RewriterError> DesignDocument::qmlParseErrors() const QList<RewriterError> DesignDocument::qmlParseErrors() const
...@@ -182,7 +182,7 @@ QList<RewriterError> DesignDocument::qmlParseErrors() const ...@@ -182,7 +182,7 @@ QList<RewriterError> DesignDocument::qmlParseErrors() const
bool DesignDocument::hasQmlParseErrors() const bool DesignDocument::hasQmlParseErrors() const
{ {
return m_rewriterView->errors().isEmpty(); return !m_rewriterView->errors().isEmpty();
} }
QString DesignDocument::displayName() const QString DesignDocument::displayName() const
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment