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

List:       kde-commits
Subject:    kdenonbeta/kopete/libkopete/ui
From:       Jason Keirstead <jason () keirstead ! org>
Date:       2003-03-27 22:07:57
[Download RAW message or body]

CVS commit by brunes: 

Fix for slotBackgroundUpdated crash


  M +12 -5     chatview.cpp   1.231


--- kdenonbeta/kopete/libkopete/ui/chatview.cpp  #1.230:1.231
@@ -252,5 +252,9 @@ void ChatView::makeVisible()
 {
         if( !m_mainWindow )
+        {
                 m_mainWindow = KopeteChatWindow::window( m_manager->protocol() );
+                if( root )
+                        root->repaint( true );
+        }
 
         if( !m_mainWindow->isVisible() )
@@ -1218,4 +1222,6 @@ void ChatView::slotTransparancyChanged()
 void ChatView::slotUpdateBackground(const QPixmap &pm)
 {
+        if( m_mainWindow )
+        {
         m_mainWindow->updateBackground( pm );
 
@@ -1226,4 +1232,5 @@ void ChatView::slotUpdateBackground(cons
 
         refreshView();
+        }
 }
 


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

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