SVN commit 994992 by mjansen:

Fix runtime warning:

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

CCMAIL:plasma-devel@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);
 
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to