1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-13 21:18:01 +03:00

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
This commit is contained in:
Michail Vourlakos 2017-03-23 13:54:50 +02:00
parent f794d5c60c
commit 9529fe8a3c

View File

@ -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"));