fix order of adding dock views

v0.6
Michail Vourlakos 8 years ago
parent 3a08db5eb0
commit d4c0a3df3f

@ -192,15 +192,15 @@ void NowDockCorona::loadDefaultLayout()
// config.deleteEntry("wallpaperplugin"); // config.deleteEntry("wallpaperplugin");
switch (containments().size()) { switch (containments().size()) {
case 0: case 1:
defaultContainment->setLocation(Plasma::Types::LeftEdge); defaultContainment->setLocation(Plasma::Types::LeftEdge);
break; break;
case 1: case 2:
defaultContainment->setLocation(Plasma::Types::RightEdge); defaultContainment->setLocation(Plasma::Types::RightEdge);
break; break;
case 2: case 3:
defaultContainment->setLocation(Plasma::Types::TopEdge); defaultContainment->setLocation(Plasma::Types::TopEdge);
break; break;

Loading…
Cancel
Save