[Bug 72991] first accessed window crashes kdevelop

Lukas Tinkl lukas at kde.org
Wed Jan 28 18:38:05 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      




------- Additional Comments From lukas at kde.org  2004-01-28 18:36 -------
Subject: KDE_3_2_BRANCH: kdelibs/kmdi

CVS commit by lukas: 

backport crash fix for #72991

CCMAIL: 72991 at bugs.kde.org


  M +82 -78    kmdimainfrm.cpp   1.53.2.1


--- kdelibs/kmdi/kmdimainfrm.cpp  #1.53:1.53.2.1
@@ -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