aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2011-10-31 16:16:14 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:56:15 -0300
commitc230fad4271e04875191c226d3fdd612529ca263 (patch)
tree0a087682a244fa699ddc5d5972be1486384a4416 /tests
parent6fe19dbb88ef590704854f64517d4240ca1206c0 (diff)
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.
Diffstat (limited to 'tests')
-rw-r--r--tests/QtCore/qinstallmsghandler_test.py2
1 files changed, 1 insertions, 1 deletions
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