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

List:       kde-commits
Subject:    branches/KDE/3.5/kdenetwork/kopete/kopete/chatwindow
From:       Tommi Rantala <tommi.rantala () cs ! helsinki ! fi>
Date:       2005-11-04 15:41:32
Message-ID: 1131118892.089509.22534.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 477647 by rantala:

Fix setUnderline() checking the wrong bits.

No wonder underlining never worked well in IRC where we dont have support for \
italics...


 M  +1 -1      krichtexteditpart.cpp  


--- branches/KDE/3.5/kdenetwork/kopete/kopete/chatwindow/krichtexteditpart.cpp \
#477646:477647 @@ -499,7 +499,7 @@
 void KopeteRichTextEditPart::setUnderline( bool b )
 {
 	mFont.setUnderline( b );
-	if( m_capabilities & Kopete::Protocol::RichIFormatting ||  m_capabilities & \
Kopete::Protocol::BaseIFormatting  ) +	if( m_capabilities & \
Kopete::Protocol::RichUFormatting ||  m_capabilities & \
Kopete::Protocol::BaseUFormatting  )  {
 		if(m_richTextEnabled)
 			editor->setUnderline(b);


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

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