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

List:       kde-commits
Subject:    KDE/kdenetwork/kopete/kopete/contactlist
From:       Markus Meik Slopianka <kamikazow () web ! de>
Date:       2009-11-28 19:51:35
Message-ID: 1259437895.021794.4436.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1055816 by markuss:

Fix a missing icon

 M  +5 -5      contactlistlayoutmanager.cpp  


--- trunk/KDE/kdenetwork/kopete/kopete/contactlist/contactlistlayoutmanager.cpp \
#1055815:1055816 @@ -55,7 +55,7 @@
 LayoutManager::LayoutManager()
 	: QObject()
 {
-	m_tokens << ContactListTokenConfig( -1, "Placeholder", i18n("Placeholder"), "" );
+	m_tokens << ContactListTokenConfig( -1, "Placeholder", i18n("Placeholder"), \
"transform-move" );  m_tokens << ContactListTokenConfig( Qt::DisplayRole, \
"DisplayName", i18n("Display Name"), "user-identity" );  m_tokens << \
ContactListTokenConfig( Kopete::Items::StatusTitleRole, "StatusTitle", i18n("Status \
Title"), "im-status-message-edit" );  m_tokens << ContactListTokenConfig( \
Kopete::Items::StatusMessageRole, "StatusMessage", i18n("Status Message"), \
"im-status-message-edit" ); @@ -211,8 +211,8 @@
 					}
 				}
 			}
-			
 
+
 			QString prefix = elementNode.toElement().attribute( "prefix", QString() );
 			QString sufix = elementNode.toElement().attribute( "suffix", QString() );
 			qreal size = elementNode.toElement().attribute( "size", "0.0" ).toDouble();
@@ -222,8 +222,8 @@
 			bool optimalSize = ( elementNode.toElement().attribute( "optimalSize", "false" \
).compare( "true", Qt::CaseInsensitive ) == 0 );  QString alignmentString = \
elementNode.toElement().attribute( "alignment", "left" );  Qt::Alignment alignment;
-			
 
+
 			if ( alignmentString.compare( "left", Qt::CaseInsensitive ) == 0 )
 				alignment = Qt::AlignLeft | Qt::AlignVCenter;
 			else if ( alignmentString.compare( "right", Qt::CaseInsensitive ) == 0 )
@@ -280,7 +280,7 @@
 	QTextStream out( &file );
 	out << doc.toString();
 	file.close();
-	
+
 	m_layouts.insert( name, layout );
 	emit( layoutListChanged() );
 	return true;
@@ -318,7 +318,7 @@
 				alignmentString = "right";
 			else
 				alignmentString = "center";
-			
+
 			elementElement.setAttribute ( "alignment", alignmentString );
 
 			rowElement.appendChild( elementElement );


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

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