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

List:       kde-commits
Subject:    kdenetwork/kopete/kopete/chatwindow
From:       Scott Wheeler <wheeler () kde ! org>
Date:       2004-03-15 10:16:42
Message-ID: 20040315101642.706DC9993 () office ! kde ! org
[Download RAW message or body]

CVS commit by wheeler: 

build (the only alternative to a temporary here was converting to int and then
converting to an enum on the same line, which was well, ugly)


  M +4 -1      kopeteviewmanager.cpp   1.29


--- kdenetwork/kopete/kopete/chatwindow/kopeteviewmanager.cpp  #1.28:1.29
@@ -118,5 +118,8 @@ KopeteView *KopeteViewManager::view( Kop
 
                 if( type == KopeteMessage::Undefined )
-                        type = static_cast<KopeteMessage::MessageType>( \
KopetePrefs::prefs()->interfacePreference() ); +                {
+                        int t = KopetePrefs::prefs()->interfacePreference();
+                        type = static_cast<KopeteMessage::MessageType>( t );    
+                }
 
                 if( type == KopeteMessage::Chat )


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

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