[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenetwork/kopete/kopete/chatwindow
From: Olivier Goffart <ogoffart () kde ! org>
Date: 2005-01-29 12:04:58
Message-ID: 20050129120458.3538E1CF79 () office ! kde ! org
[Download RAW message or body]
CVS commit by ogoffart:
Escape correctly every contents of the message in the passive popups.
BUG: 97272
M +2 -2 kopeteviewmanager.cpp 1.45
--- kdenetwork/kopete/kopete/chatwindow/kopeteviewmanager.cpp #1.44:1.45
@@ -204,5 +204,5 @@ void KopeteViewManager::messageAppended(
QString event;
- QString body =i18n( "<qt>Incoming message from \
%1<br>\"%2\"</qt>" );; + QString body =i18n( \
"<qt>Incoming message from %1<br>\"%2\"</qt>" );
switch( msg.importance() )
@@ -218,5 +218,5 @@ void KopeteViewManager::messageAppended(
event = QString::fromLatin1( \
"kopete_contact_incoming" ); }
- KNotifyClient::event(winId, event, body.arg( \
msgFrom, msgText ), msg.from()->metaContact(), + \
KNotifyClient::event(winId, event, body.arg( QStyleSheet::escape(msgFrom), \
QStyleSheet::escape(msgText) ), msg.from()->metaContact(),
i18n("View") , \
const_cast<Kopete::Contact*>(msg.from()) , SLOT(execute()) ); }
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic