KDE/kdebase/workspace/plasma/applets/devicenotifier

Michael Jansen kde at michael-jansen.biz
Sat Jul 11 18:59:08 CEST 2009


SVN commit 994992 by mjansen:

Fix runtime warning:

QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout

CCMAIL:plasma-devel at kde.org

 M  +1 -1      notifierdialog.cpp  


--- trunk/KDE/kdebase/workspace/plasma/applets/devicenotifier/notifierdialog.cpp #994991:994992
@@ -256,7 +256,7 @@
     QLabel *icon = new QLabel(m_widget);
     icon->setPixmap(KIcon("emblem-mounted").pixmap(KIconLoader::SizeMedium, KIconLoader::SizeMedium));
 
-    QHBoxLayout *l_layout2 = new QHBoxLayout(m_widget);
+    QHBoxLayout *l_layout2 = new QHBoxLayout;
     l_layout2->setSpacing(0);
     l_layout2->setMargin(0);
 


More information about the Plasma-devel mailing list