Re-order initialisation to fix warning

wilder-5.14
David Edmundson 9 years ago
parent 7f7d229843
commit ee0c3abd26
  1. 4
      shell/panelview.cpp

@ -58,13 +58,13 @@ PanelView::PanelView(ShellCorona *corona, QScreen *targetScreen, QWindow *parent
m_contentLength(0), m_contentLength(0),
m_distance(0), m_distance(0),
m_thickness(30), m_thickness(30),
m_initCompleted(false),
m_alignment(Qt::AlignLeft), m_alignment(Qt::AlignLeft),
m_corona(corona), m_corona(corona),
m_visibilityMode(NormalPanel), m_visibilityMode(NormalPanel),
m_background(0), m_background(0),
m_backgroundHints(Plasma::Types::StandardBackground), m_backgroundHints(Plasma::Types::StandardBackground),
m_shellSurface(nullptr), m_shellSurface(nullptr)
m_initCompleted(false)
{ {
if (targetScreen) { if (targetScreen) {
setPosition(targetScreen->geometry().center()); setPosition(targetScreen->geometry().center());

Loading…
Cancel
Save