Commit b8a07e15 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

[Switch UserGreeter] Add QtQuickSettings

Was done for logout greeter but not this one
parent 0ad1d318
......@@ -8,6 +8,7 @@ target_link_libraries(ksmserver-switchuser-greeter
KF5::IconThemes
KF5::I18n
KF5::Package
KF5::QuickAddons
KF5::WaylandClient
KF5::WindowSystem
${X11_LIBRARIES}
......
......@@ -28,6 +28,8 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "../switchuserdialog.h"
#include <KQuickAddons/QtQuickSettings>
#include <kdisplaymanager.h>
#include <KWindowSystem>
......@@ -142,6 +144,8 @@ int main(int argc, char *argv[])
QQuickWindow::setDefaultAlphaBuffer(true);
QGuiApplication app(argc, argv);
KQuickAddons::QtQuickSettings::init();
Greeter greeter;
greeter.init();
......
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