[Bug 72991] first accessed window crashes kdevelop

Jens Dagerbo jens.dagerbo at swipnet.se
Tue Jan 20 20:20:21 UTC 2004


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=72991      
jens.dagerbo at swipnet.se changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From jens.dagerbo at swipnet.se  2004-01-20 20:18 -------
Subject: kdelibs/kmdi

CVS commit by dagerbo: 

Quck fix for bug: 72991

CCMAIL: 72991-done at bugs.kde.org


  M +82 -78    kmdimainfrm.cpp   1.54


--- kdelibs/kmdi/kmdimainfrm.cpp  #1.53:1.54
@@ -2023,4 +2023,6 @@ void KMdiMainFrm::activateFirstWin()
    }
 
+   if ( !activeWindow() ) return;
+
    QDateTime current = activeWindow()->getTimeStamp();
    QMap<QDateTime,KMdiChildView*>::iterator pos(m.find(current));
@@ -2049,4 +2051,6 @@ void KMdiMainFrm::activateLastWin()
    }
 
+   if ( !activeWindow() ) return;
+   
    QDateTime current = activeWindow()->getTimeStamp();
    QMap<QDateTime,KMdiChildView*>::iterator pos(m.find(current));




More information about the KDevelop-devel mailing list