Changeset View
Changeset View
Standalone View
Standalone View
ksmserver/logout-greeter/main.cpp
Show First 20 Lines • Show All 160 Lines • ▼ Show 20 Line(s) | 147 | { | |||
---|---|---|---|---|---|
161 | return false; | 161 | return false; | ||
162 | } | 162 | } | ||
163 | 163 | | |||
164 | int main(int argc, char *argv[]) | 164 | int main(int argc, char *argv[]) | ||
165 | { | 165 | { | ||
166 | // Qt does not currently (5.9.4) support fullscreen on xdg_shell v6. | 166 | // Qt does not currently (5.9.4) support fullscreen on xdg_shell v6. | ||
167 | qputenv("QT_WAYLAND_SHELL_INTEGRATION", "wl-shell"); | 167 | qputenv("QT_WAYLAND_SHELL_INTEGRATION", "wl-shell"); | ||
168 | 168 | | |||
169 | KWorkSpace::platformDetection(argc, argv); | ||||
169 | QQuickWindow::setDefaultAlphaBuffer(true); | 170 | QQuickWindow::setDefaultAlphaBuffer(true); | ||
170 | QApplication app(argc, argv); | 171 | QApplication app(argc, argv); | ||
171 | 172 | | |||
172 | KQuickAddons::QtQuickSettings::init(); | 173 | KQuickAddons::QtQuickSettings::init(); | ||
173 | 174 | | |||
174 | QCommandLineParser parser; | 175 | QCommandLineParser parser; | ||
175 | parser.addHelpOption(); | 176 | parser.addHelpOption(); | ||
176 | 177 | | |||
▲ Show 20 Lines • Show All 51 Lines • Show Last 20 Lines |