[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.5/kdenetwork/kopete/kopete
From:       Matt Rogers <mattr () kde ! org>
Date:       2007-06-09 2:58:01
Message-ID: 1181357881.705948.27858.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 673127 by mattr:

fix bug 133186 by escaping the nickname text when passing it to the balloon.
For the kOne chat style, that would be a bug in the style since it works here
with the default Kopete style.

BUG: 133186



 M  +1 -1      systemtray.cpp  


--- branches/KDE/3.5/kdenetwork/kopete/kopete/systemtray.cpp #673126:673127
@@ -302,7 +302,7 @@
 
 			m_balloon = new KopeteBalloon(
 				i18n( "<qt><nobr><b>New Message from %1:</b></nobr><br><nobr>\"%2\"</nobr></qt>" )
-					.arg( msgFrom, msgText ), QString::null );
+					.arg( QStyleSheet::escape( msgFrom ), msgText ), QString::null );
 			connect(m_balloon, SIGNAL(signalBalloonClicked()), mBalloonEventList.first() , SLOT(apply()));
 			connect(m_balloon, SIGNAL(signalButtonClicked()), mBalloonEventList.first() , SLOT(apply()));
 			connect(m_balloon, SIGNAL(signalIgnoreButtonClicked()), mBalloonEventList.first() , SLOT(ignore()));
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic