From ee0c3abd260423f2f4a88d47be9d8cea6d8e4e56 Mon Sep 17 00:00:00 2001 From: David Edmundson Date: Mon, 12 Dec 2016 13:29:10 +0000 Subject: [PATCH] Re-order initialisation to fix warning --- shell/panelview.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shell/panelview.cpp b/shell/panelview.cpp index 5e87c3194..fbdd92f21 100644 --- a/shell/panelview.cpp +++ b/shell/panelview.cpp @@ -58,13 +58,13 @@ PanelView::PanelView(ShellCorona *corona, QScreen *targetScreen, QWindow *parent m_contentLength(0), m_distance(0), m_thickness(30), + m_initCompleted(false), m_alignment(Qt::AlignLeft), m_corona(corona), m_visibilityMode(NormalPanel), m_background(0), m_backgroundHints(Plasma::Types::StandardBackground), - m_shellSurface(nullptr), - m_initCompleted(false) + m_shellSurface(nullptr) { if (targetScreen) { setPosition(targetScreen->geometry().center());