summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Uwe Broulik <[email protected]>2017-02-22 10:44:20 +0100
committerKai Uwe Broulik <[email protected]>2017-02-22 10:44:20 +0100
commitb69465e5b115717f4dbe7fb1d0a496926816a690 (patch)
tree3d84dbf5d82958f5a7b4b90c83e214032c1be540
parent6d656cb94e627080521b89b5dbe0145d1793818d (diff)
[Greeter] Also clear selection clipboard
We only cleared the Ctrl+V clipboard but not middle click paste. Differential Revision: https://phabricator.kde.org/D4701
-rw-r--r--greeter/greeterapp.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/greeter/greeterapp.cpp b/greeter/greeterapp.cpp
index c15d7c9..07ffb80 100644
--- a/greeter/greeterapp.cpp
+++ b/greeter/greeterapp.cpp
@@ -363,6 +363,7 @@ void UnlockApp::markViewsAsVisible(KQuickAddons::QuickViewSharedEngine *view)
// 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()