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.
This commit is contained in:
Hugo Parente Lima 2011-10-31 16:16:14 -02:00
commit c230fad427

View file

@ -10,7 +10,7 @@ param = []
def handler(msgt, msg): def handler(msgt, msg):
global param global param
param = [msgt, msg] param = [msgt, msg.strip()]
def handleruseless(msgt, msg): def handleruseless(msgt, msg):
pass pass