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

List:       kde-commits
Subject:    branches/KDE/4.1/kdebase/workspace/libs/plasma
From:       Alex Merry <kde () randomguy3 ! me ! uk>
Date:       2008-08-23 22:00:30
Message-ID: 1219528830.162869.27015.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 851512 by alexmerry:

Hopefully fix bug 165051.

Clear focus on Corona before ~QGraphicsView runs.  See comment for more info.

CCBUG: 165051



 M  +5 -0      corona.cpp  


--- branches/KDE/4.1/kdebase/workspace/libs/plasma/corona.cpp #851511:851512
@@ -189,6 +189,11 @@
     // also checks kiosk and parent containers
     cg.writeEntry("immutability", (int)d->immutability);
     delete d;
+
+    // FIXME: Same fix as in Plasma::View - make sure that when the focused widget is
+    //        destroyed we don't try to transfer it to something that's already been
+    //        deleted.
+    clearFocus();
 }
 
 void Corona::setAppletMimeType(const QString& type)
[prev in list] [next in list] [prev in thread] [next in thread] 

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