diff --git a/greeter/greeterapp.cpp b/greeter/greeterapp.cpp --- a/greeter/greeterapp.cpp +++ b/greeter/greeterapp.cpp @@ -363,6 +363,7 @@ // random state update, actually rather required on init only QMetaObject::invokeMethod(this, "getFocus", Qt::QueuedConnection); QGuiApplication::clipboard()->clear(); + QGuiApplication::clipboard()->clear(QClipboard::Selection); } void UnlockApp::getFocus()