[Pkg-owncloud-commits] [owncloud-client] 182/219: OS X: CMD+H should hide the dialog

Sandro Knauß hefee-guest at moszumanska.debian.org
Sat Oct 11 14:43:24 UTC 2014


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 52c12b33c369ac6b13f27750c6a055d2b1df33b7
Author: Markus Goetz <markus at woboq.com>
Date:   Tue Sep 30 15:21:55 2014 +0200

    OS X: CMD+H should hide the dialog
---
 src/mirall/settingsdialogmac.cpp | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/mirall/settingsdialogmac.cpp b/src/mirall/settingsdialogmac.cpp
index 87f7945..f2d2c34 100644
--- a/src/mirall/settingsdialogmac.cpp
+++ b/src/mirall/settingsdialogmac.cpp
@@ -39,6 +39,11 @@ SettingsDialogMac::SettingsDialogMac(ownCloudGui *gui, QWidget *parent)
     closeWindowAction->setShortcut(QKeySequence("Ctrl+W"));
     connect(closeWindowAction, SIGNAL(triggered()), SLOT(close()));
     addAction(closeWindowAction);
+    // People perceive this as a Window, so also make Ctrl+H work
+    QAction *hideWindowAction = new QAction(this);
+    hideWindowAction->setShortcut(QKeySequence("Ctrl+H"));
+    connect(hideWindowAction, SIGNAL(triggered()), SLOT(hide()));
+    addAction(hideWindowAction);
 
     setObjectName("SettingsMac"); // required as group for saveGeometry call
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list