Verified Commit cd4c0f45 authored by Fushan Wen's avatar Fushan Wen 💬
Browse files

shell: adjust available edge order to match the default layout.js

parent 3ff3cea1
Pipeline #185622 passed with stage
in 8 minutes and 9 seconds
......@@ -1782,7 +1782,7 @@ Plasma::Containment *ShellCorona::addPanel(const QString &plugin)
QScreen *wantedScreen = qGuiApp->focusWindow() ? qGuiApp->focusWindow()->screen() : m_screenPool->primaryScreen();
QList<Plasma::Types::Location> availableLocations;
availableLocations << Plasma::Types::LeftEdge << Plasma::Types::TopEdge << Plasma::Types::RightEdge << Plasma::Types::BottomEdge;
availableLocations << Plasma::Types::BottomEdge << Plasma::Types::TopEdge << Plasma::Types::LeftEdge << Plasma::Types::RightEdge;
for (auto it = m_panelViews.constBegin(); it != m_panelViews.constEnd(); ++it) {
if ((*it)->screenToFollow() == wantedScreen) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment