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

List:       kde-commits
Subject:    KDE/kdenetwork/kopete/kopete/chatwindow
From:       Teemu Rytilahti <tpr () d5k ! net>
Date:       2010-07-28 15:19:56
Message-ID: 20100728151956.D6EABAC783 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1156102 by rytilahti:

Don't show joins&quits in chatwindow, if user has decided not to show events

BUGS:109822


 M  +2 -2      chatview.cpp  


--- trunk/KDE/kdenetwork/kopete/kopete/chatwindow/chatview.cpp #1156101:1156102
@@ -543,7 +543,7 @@
 		this, SLOT( slotPropertyChanged( Kopete::PropertyContainer *, const QString &, \
const QVariant &, const QVariant & ) ) ) ;  }
 
-	if( !suppress && m_manager->members().count() > 1 ) {
+	if( !suppress && Kopete::BehaviorSettings::self()->showEvents() && \
m_manager->members().count() > 1 ) {  QString contactName = \
m_messagePart->formatName(contact, Qt::PlainText);  sendInternalMessage(  i18n("%1 \
has joined the chat.", contactName) );  }
@@ -588,7 +588,7 @@
 			}
 		}
 
-		if ( !suppressNotification )
+		if ( !suppressNotification && Kopete::BehaviorSettings::self()->showEvents() )
 		{
 			QString contactName = m_messagePart->formatName(contact, Qt::PlainText);
 			if ( reason.isEmpty() )


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

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