Changeset View
Changeset View
Standalone View
Standalone View
shell/shellcorona.cpp
Show First 20 Lines • Show All 57 Lines • ▼ Show 20 Line(s) | |||||
58 | #include <KWayland/Client/plasmashell.h> | 58 | #include <KWayland/Client/plasmashell.h> | ||
59 | 59 | | |||
60 | #include "config-ktexteditor.h" // HAVE_KTEXTEDITOR | 60 | #include "config-ktexteditor.h" // HAVE_KTEXTEDITOR | ||
61 | 61 | | |||
62 | #include "alternativeshelper.h" | 62 | #include "alternativeshelper.h" | ||
63 | #include "desktopview.h" | 63 | #include "desktopview.h" | ||
64 | #include "panelview.h" | 64 | #include "panelview.h" | ||
65 | #include "scripting/scriptengine.h" | 65 | #include "scripting/scriptengine.h" | ||
66 | #include "shellmanager.h" | | |||
67 | #include "osd.h" | 66 | #include "osd.h" | ||
68 | #include "screenpool.h" | 67 | #include "screenpool.h" | ||
69 | 68 | | |||
70 | #include "plasmashelladaptor.h" | 69 | #include "plasmashelladaptor.h" | ||
71 | #include "debug.h" | 70 | #include "debug.h" | ||
72 | #include "futureutil.h" | 71 | #include "futureutil.h" | ||
73 | 72 | | |||
74 | #ifndef NDEBUG | 73 | #ifndef NDEBUG | ||
▲ Show 20 Lines • Show All 830 Lines • ▼ Show 20 Line(s) | 880 | { | |||
905 | 904 | | |||
906 | //NOTE: Is important the containments already exist for each screen | 905 | //NOTE: Is important the containments already exist for each screen | ||
907 | // at the moment of the script execution,the same loop in :load() | 906 | // at the moment of the script execution,the same loop in :load() | ||
908 | // is executed too late | 907 | // is executed too late | ||
909 | for (QScreen* screen : qGuiApp->screens()) { | 908 | for (QScreen* screen : qGuiApp->screens()) { | ||
910 | addOutput(screen); | 909 | addOutput(screen); | ||
911 | } | 910 | } | ||
912 | 911 | | |||
913 | script = ShellManager::s_testModeLayout; | 912 | script = m_testModeLayout; | ||
914 | 913 | | |||
915 | if (script.isEmpty()) { | 914 | if (script.isEmpty()) { | ||
916 | script = m_lookAndFeelPackage.filePath("layouts", QString(shell() + "-layout.js").toLatin1()); | 915 | script = m_lookAndFeelPackage.filePath("layouts", QString(shell() + "-layout.js").toLatin1()); | ||
917 | } | 916 | } | ||
918 | if (script.isEmpty()) { | 917 | if (script.isEmpty()) { | ||
919 | script = package().filePath("defaultlayout"); | 918 | script = package().filePath("defaultlayout"); | ||
920 | } | 919 | } | ||
921 | 920 | | |||
▲ Show 20 Lines • Show All 1226 Lines • Show Last 20 Lines |