diff --git a/src/plasmaquick/appletquickitem.cpp b/src/plasmaquick/appletquickitem.cpp index a4304534e..b8ee273ce 100644 --- a/src/plasmaquick/appletquickitem.cpp +++ b/src/plasmaquick/appletquickitem.cpp @@ -52,10 +52,10 @@ AppletQuickItemPrivate::AppletQuickItemPrivate(Plasma::Applet *a, AppletQuickIte : q(item), switchWidth(-1), switchHeight(-1), - initComplete(false), applet(a), expanded(false), - activationTogglesExpanded(false) + activationTogglesExpanded(false), + initComplete(false) { if (s_preloadPolicy == Uninitialized) { //default as Adaptive diff --git a/src/scriptengines/qml/plasmoid/dropmenu.cpp b/src/scriptengines/qml/plasmoid/dropmenu.cpp index f4632c878..c72e910e3 100644 --- a/src/scriptengines/qml/plasmoid/dropmenu.cpp +++ b/src/scriptengines/qml/plasmoid/dropmenu.cpp @@ -35,8 +35,8 @@ DropMenu::DropMenu(KIO::DropJob *dropJob, const QPoint &dropPoint, ContainmentInterface *parent) : QObject(parent), - m_dropJob(dropJob), - m_dropPoint(dropPoint) + m_dropPoint(dropPoint), + m_dropJob(dropJob) { if (!dropJob) { m_menu = new QMenu(i18n("Content dropped"));