diff --git a/greeter/greeterapp.cpp b/greeter/greeterapp.cpp --- a/greeter/greeterapp.cpp +++ b/greeter/greeterapp.cpp @@ -42,6 +42,7 @@ #include #include // Qt +#include #include #include #include @@ -361,6 +362,7 @@ showProperty.write(true); // random state update, actually rather required on init only QMetaObject::invokeMethod(this, "getFocus", Qt::QueuedConnection); + QGuiApplication::clipboard()->clear(); } void UnlockApp::getFocus()