[server] Default initialize the role of a PlasmaShellSurface

We want Normal as default and not a random value.
This commit is contained in:
Martin Gräßlin 2016-03-09 16:19:33 +01:00
parent e3dc783548
commit 1d8319cb3b

View file

@ -72,7 +72,7 @@ public:
SurfaceInterface *surface;
QPoint m_globalPos;
Role m_role;
Role m_role = Role::Normal;
bool m_positionSet = false;
PanelBehavior m_panelBehavior = PanelBehavior::AlwaysVisible;
bool m_skipTaskbar = false;