[Pkg-owncloud-commits] [owncloud-client] 40/171: gui: Word Wrap in QInputDialog (#4197)

Sandro Knauß hefee-guest at moszumanska.debian.org
Wed Feb 17 09:36:46 UTC 2016


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

hefee-guest pushed a commit to annotated tag upstream/2.1.1+dfsg
in repository owncloud-client.

commit a0b913f65dab88b0921b9e806c0ccf7bdd0f9b9a
Author: Olivier Goffart <ogoffart at woboq.com>
Date:   Mon Dec 21 15:35:45 2015 +0100

    gui: Word Wrap in QInputDialog (#4197)
---
 src/gui/application.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/gui/application.cpp b/src/gui/application.cpp
index 1182ecd..7f56379 100644
--- a/src/gui/application.cpp
+++ b/src/gui/application.cpp
@@ -165,6 +165,9 @@ Application::Application(int &argc, char **argv) :
         _gui->slotToggleLogBrowser(); // _showLogWindow is set in parseOptions.
     }
 
+    // Enable word wrapping of QInputDialog (#4197)
+    setStyleSheet("QInputDialog QLabel { qproperty-wordWrap:1; }");
+
     connect(AccountManager::instance(), SIGNAL(accountAdded(AccountState*)),
             SLOT(slotAccountStateAdded(AccountState*)));
     connect(AccountManager::instance(), SIGNAL(accountRemoved(AccountState*)),

-- 
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