From d4c0a3df3f86508a372fc85857911826f9c19147 Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Sun, 25 Dec 2016 16:09:52 +0200 Subject: [PATCH] fix order of adding dock views --- corona/nowdockcorona.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/corona/nowdockcorona.cpp b/corona/nowdockcorona.cpp index 8406dabb0..0a380bcad 100644 --- a/corona/nowdockcorona.cpp +++ b/corona/nowdockcorona.cpp @@ -192,15 +192,15 @@ void NowDockCorona::loadDefaultLayout() // config.deleteEntry("wallpaperplugin"); switch (containments().size()) { - case 0: + case 1: defaultContainment->setLocation(Plasma::Types::LeftEdge); break; - case 1: + case 2: defaultContainment->setLocation(Plasma::Types::RightEdge); break; - case 2: + case 3: defaultContainment->setLocation(Plasma::Types::TopEdge); break;