[X2Go-Commits] [x2gokdriveclient] 01/01: disable kbd input for toolbar.
git-admin at x2go.org
git-admin at x2go.org
Wed Jan 22 16:11:36 CET 2020
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2gokdriveclient.
commit f5314016a7d619a2ea4e403d9f208e94b80bb6ab
Author: Oleksandr Shneyder <o.shneyder at phoca-gmbh.de>
Date: Wed Jan 22 16:08:45 2020 +0100
disable kbd input for toolbar.
---
debian/changelog | 1 +
menuframe.cpp | 8 ++++++++
2 files changed, 9 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index a3b1ab2..8100fcb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,5 +15,6 @@ x2gokdriveclient (0.0.0.1-0x2go1) UNRELEASED; urgency=medium
[ Oleksandr Shneyder ]
* Add floating tool bar.
+ - disable kbd input for toolbar.
-- Mike Gabriel <mike.gabriel at das-netzwerkteam.de> Tue, 04 Jun 2019 11:10:43 +0200
diff --git a/menuframe.cpp b/menuframe.cpp
index 7605d96..7d9bbcc 100644
--- a/menuframe.cpp
+++ b/menuframe.cpp
@@ -149,6 +149,14 @@ MenuFrame::MenuFrame(QWidget* parent, QMenu* menu):QFrame(parent)
orientation=RIGHT;
+ setFocusPolicy(Qt::NoFocus);
+ bPin->setFocusPolicy(Qt::NoFocus);
+ bMin->setFocusPolicy(Qt::NoFocus);
+ bDisc->setFocusPolicy(Qt::NoFocus);
+ viewMenu->setFocusPolicy(Qt::NoFocus);
+ capt->setFocusPolicy(Qt::NoFocus);
+
+
setupFrame();
adjustPosition();
bPin->setChecked(isPinned);
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gokdriveclient.git
More information about the x2go-commits
mailing list