[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenonbeta/kopete/libkopete
From: Ladislav Strojil <Ladislav () Strojil ! cz>
Date: 2003-07-14 14:55:13
[Download RAW message or body]
CVS commit by strojil:
Highlight incoming message only if displayName for current user is not empty
M +1 -1 kopetemessagemanager.cpp 1.170
--- kdenonbeta/kopete/libkopete/kopetemessagemanager.cpp #1.169:1.170
@@ -216,5 +216,5 @@ void KopeteMessageManager::appendMessage
if( msg.direction() == KopeteMessage::Inbound )
{
- if( KopetePrefs::prefs()->highlightEnabled() && \
msg.plainBody().contains( \
QRegExp(QString::fromLatin1("\\b(%1)\\b").arg(user()->displayName()),false) ) ) + \
if( KopetePrefs::prefs()->highlightEnabled() && !user()->displayName().isEmpty() && \
msg.plainBody().contains( \
QRegExp(QString::fromLatin1("\\b(%1)\\b").arg(user()->displayName()),false) ) ) \
msg.setImportance( KopeteMessage::Highlight );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic