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

List:       kde-commits
Subject:    KDE/kdelibs/plasma/widgets
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2010-10-23 1:44:37
Message-ID: 20101023014437.ADD38AC897 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1188698 by aseigo:

set up the theming in IconWidgetPrivate::init() instead of its ctor as that ends up \
causing a call to changeEvent, and so if call from the private class' ctor the d \
member of IconWidget isn't assigned (IconWidgetPrivate is still being constructed) \
and causes a crash


 M  +1 -1      iconwidget.cpp  


--- trunk/KDE/kdelibs/plasma/widgets/iconwidget.cpp #1188697:1188698
@@ -116,7 +116,6 @@
       drawBg(false),
       textBgCustomized(false)
 {
-    initTheming();
 }
 
 IconWidgetPrivate::~IconWidgetPrivate()
@@ -410,6 +409,7 @@
 
     setActiveMargins();
     currentSize = QSizeF(-1, -1);
+    initTheming();
 }
 
 void IconWidget::addIconAction(QAction *action)


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

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