summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/global/qlogging
diff options
context:
space:
mode:
authorMarcel Krems <marcel@sarrazin.local>2019-09-15 17:51:21 +0200
committerMarcel Krems <m.krems@software-vision.eu>2020-08-29 16:24:21 +0200
commitab5e444c8fd754321ef0a6b084248e431e84a7a8 (patch)
treeadb5e99599e48b4a23545d2b00516fcf51ed4b25 /tests/auto/corelib/global/qlogging
parent2a896becdf500ce7f5db2d059b1445fb05a8c329 (diff)
Remove remaining traces of deprecated QtMsgHandler
Change-Id: I28aecb444eb9bc9e26e6ff8998904dbf28419f25 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'tests/auto/corelib/global/qlogging')
-rw-r--r--tests/auto/corelib/global/qlogging/tst_qlogging.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/auto/corelib/global/qlogging/tst_qlogging.cpp b/tests/auto/corelib/global/qlogging/tst_qlogging.cpp
index 41458331a0..cf0fdef109 100644
--- a/tests/auto/corelib/global/qlogging/tst_qlogging.cpp
+++ b/tests/auto/corelib/global/qlogging/tst_qlogging.cpp
@@ -80,15 +80,6 @@ void customMessageHandler(QtMsgType type, const QMessageLogContext &context, con
s_message = msg;
}
-void customMsgHandler(QtMsgType type, const char *msg)
-{
- s_type = type;
- s_file = 0;
- s_line = 0;
- s_function = 0;
- s_message = QString::fromLocal8Bit(msg);
-}
-
tst_qmessagehandler::tst_qmessagehandler()
{
// ensure it's unset, otherwise we'll have trouble