diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2012-01-13 13:13:35 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-24 08:10:42 +0100 |
commit | c730c089fd8ef686127a929a9b96970b032c5300 (patch) | |
tree | ef17fcb6ca1c5d5a6c0d89b6fad01407438a8f9a | |
parent | 80aa2165425fd0b124a96c7e501e37a896c406ee (diff) |
Avoid using QTestResult::ignoreMessage().
QTestResult::ignoreMessage() is just a wrapper around
QTestLog::ignoreMessage(). Both are private API, so just call the latter
directly so that the former can be removed from the API.
Change-Id: Icf77e2bf656afc556205ddf0dda5bb48fdbdfbbf
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
-rw-r--r-- | src/qmltest/quicktestresult.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmltest/quicktestresult.cpp b/src/qmltest/quicktestresult.cpp index 2232a0b34a..af2324b3ad 100644 --- a/src/qmltest/quicktestresult.cpp +++ b/src/qmltest/quicktestresult.cpp @@ -437,7 +437,7 @@ void QuickTestResult::warn(const QString &message, const QUrl &location, int lin void QuickTestResult::ignoreWarning(const QString &message) { - QTestResult::ignoreMessage(QtWarningMsg, message.toLatin1().constData()); + QTestLog::ignoreMessage(QtWarningMsg, message.toLatin1().constData()); } void QuickTestResult::wait(int ms) |