From: Jason McDonald Date: Fri, 13 Jan 2012 03:13:35 +0000 (+1000) Subject: Avoid using QTestResult::ignoreMessage(). X-Git-Tag: qt-v5.0.0-alpha1~611 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c730c089fd8ef686127a929a9b96970b032c5300;p=profile%2Fivi%2Fqtdeclarative.git 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 --- diff --git a/src/qmltest/quicktestresult.cpp b/src/qmltest/quicktestresult.cpp index 2232a0b..af2324b 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)