fix adding dock at the bottom when shouldnt

--if the user was adding docks too fast then
some of them were added at the bottom because
that was conflicting with the session
implementation. The fix fixes the situation
and preserves the alternative session functionality
pull/1/head
Michail Vourlakos 8 years ago
parent f794d5c60c
commit 9529fe8a3c

@ -976,7 +976,6 @@ void DockCorona::loadDefaultLayout()
emit containmentAdded(defaultContainment);
emit containmentCreated(defaultContainment);
m_waitingSessionDocksCreation = true;
addDock(defaultContainment);
defaultContainment->createApplet(QStringLiteral("org.kde.latte.plasmoid"));
defaultContainment->createApplet(QStringLiteral("org.kde.plasma.analogclock"));

Loading…
Cancel
Save