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

List:       kde-commits
Subject:    KDE_3_4_BRANCH: kdenetwork/kopete/kopete/chatwindow
From:       Will Stephenson <lists () stevello ! free-online ! co ! uk>
Date:       2005-03-18 12:47:32
Message-ID: 20050318124732.D37D016DE8 () office ! kde ! org
[Download RAW message or body]

CVS commit by wstephens: 

Backport fix for crash when reopening closed tabbed chatwindows.


  M +2 -3      kopetechatwindow.cpp   1.101.2.2


--- kdenetwork/kopete/kopete/chatwindow/kopetechatwindow.cpp  #1.101.2.1:1.101.2.2
@@ -1085,6 +1085,5 @@ void KopeteChatWindow::closeEvent( QClos
         KopeteApplication *app = static_cast<KopeteApplication *>( kapp );
         if ( KopetePrefs::prefs()->showTray() && !app->isShuttingDown() && !app->sessionSaving() ) {
-                hide();
-/*              // BEGIN of code borrowed from KMainWindow::closeEvent
+                // BEGIN of code borrowed from KMainWindow::closeEvent
                 // Save settings if auto-save is enabled, and settings have changed
                 if ( settingsDirty() && autoSaveSettings() )
@@ -1094,5 +1093,5 @@ void KopeteChatWindow::closeEvent( QClos
                         e->accept();
                 }
-                // END of code borrowed from KMainWindow::closeEvent*/
+                // END of code borrowed from KMainWindow::closeEvent
         }
         else


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

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