diff --git a/desktop/desktopview.cpp b/desktop/desktopview.cpp index 8150549..83a1456 100644 --- a/desktop/desktopview.cpp +++ b/desktop/desktopview.cpp @@ -66,6 +66,8 @@ void DesktopView::onPrimaryScreenChanged(QScreen *screen) { bool isPrimaryScreen = m_screen->name() == screen->name(); + onGeometryChanged(); + setSource(isPrimaryScreen ? QStringLiteral("qrc:/qml/Desktop/Main.qml") : QStringLiteral("qrc:/qml/Desktop/Wallpaper.qml")); }