File r912148.diff of Package kdebase4-runtime

Subject: try to solve logout crashes and lost memory
pt 2
From: wstephenson@suse.de
Bug: 
Patch-upstream: 912148
--- kstyles/oxygen/oxygen.h	(revision 912147)
+++ kstyles/oxygen/oxygen.h	(revision 912148)
@@ -174,8 +174,6 @@ private:
     QPoint handleRTL(const QStyleOption* opt, const QPoint& pos) const;
     QRect handleRTL(const QStyleOption* opt, const QRect& subRect) const;
 
-    mutable bool flatMode;
-
     bool _animateProgressBar;
     bool _drawToolBarItemSeparator;
     bool _drawTriangularExpander;
--- kstyles/oxygen/lib/helper.h	(revision 912147)
+++ kstyles/oxygen/lib/helper.h	(revision 912148)
@@ -38,6 +38,7 @@ public:
     explicit OxygenHelper(const QByteArray &componentName);
     virtual ~OxygenHelper() {}
 
+    void cleanupBeforeDelete() {OxygenHelper::invalidateCaches();}
     KSharedConfigPtr config() const;
     void reloadConfig();
 
Index: kstyles/oxygen/oxygen.h
===================================================================
Index: kstyles/oxygen/lib/helper.h
===================================================================