From 1d8319cb3b8132987cd6dc5083ba24bf6f2b8e33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Wed, 9 Mar 2016 16:19:33 +0100 Subject: [PATCH] [server] Default initialize the role of a PlasmaShellSurface We want Normal as default and not a random value. --- src/wayland/plasmashell_interface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wayland/plasmashell_interface.cpp b/src/wayland/plasmashell_interface.cpp index 1b10f3ce89..f082534d0c 100644 --- a/src/wayland/plasmashell_interface.cpp +++ b/src/wayland/plasmashell_interface.cpp @@ -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;