From c230fad4271e04875191c226d3fdd612529ca263 Mon Sep 17 00:00:00 2001 From: Hugo Parente Lima Date: Mon, 31 Oct 2011 16:16:14 -0200 Subject: Strip the text received from message handler. This was needed because now qWarning, etc, are using stream operators for security reasons, and those operators add spaces at end. --- tests/QtCore/qinstallmsghandler_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/QtCore/qinstallmsghandler_test.py b/tests/QtCore/qinstallmsghandler_test.py index d76c6ceec..b4aa2d5ab 100644 --- a/tests/QtCore/qinstallmsghandler_test.py +++ b/tests/QtCore/qinstallmsghandler_test.py @@ -10,7 +10,7 @@ param = [] def handler(msgt, msg): global param - param = [msgt, msg] + param = [msgt, msg.strip()] def handleruseless(msgt, msg): pass -- cgit v1.2.3