diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2012-06-01 14:43:23 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-01 17:33:03 +0200 |
commit | 788adbd202daa6ca78a8e39b220f73f5784ab4d8 (patch) | |
tree | 554b5d2e5ff9acd202c94bead211548fc4c8404f /tests | |
parent | bdc8451d6f8a9f6ca85b760dbee4367a1036eccf (diff) |
Fixed to use new api qInstallMessageHandler.
Change-Id: If4eae928e8a21b76de481daf3905f6de4a46456f
Reviewed-by: Prasanth Ullattil <prasanth.ullattil@nokia.com>
Reviewed-by: Jing Bai <jing.t.bai@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/partition/testpartition.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/partition/testpartition.cpp b/tests/auto/partition/testpartition.cpp index 92adf52e..c3ca3ea2 100644 --- a/tests/auto/partition/testpartition.cpp +++ b/tests/auto/partition/testpartition.cpp @@ -2312,7 +2312,7 @@ void TestPartition::mapArrayConversion() } static QHash<QString, QList<QString> > sDebugMessages; -void logMessageOutput(QtMsgType type, const QMessageLogContext &context, const char *msg) +void logMessageOutput(QtMsgType type, const QMessageLogContext &context, const QString &msg) { Q_UNUSED(context); switch (type) { @@ -2336,7 +2336,7 @@ void TestPartition::mapConsole() bool wasVerbose = jsondbSettings->verbose(); bool wasDebug = jsondbSettings->debug(); sDebugMessages.clear(); - QMessageHandler oldMessageHandler = qInstallMessageHandler(logMessageOutput); + QtMessageHandler oldMessageHandler = qInstallMessageHandler(logMessageOutput); jsondbSettings->setVerbose(true); jsondbSettings->setDebug(true); |