projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
271b2f8
)
gui: Word Wrap in QInputDialog (#4197)
author
Olivier Goffart
<ogoffart@woboq.com>
Mon, 21 Dec 2015 14:35:45 +0000
(15:35 +0100)
committer
Olivier Goffart
<ogoffart@woboq.com>
Tue, 22 Dec 2015 09:08:17 +0000
(10:08 +0100)
src/gui/application.cpp
patch
|
blob
|
history
diff --git
a/src/gui/application.cpp
b/src/gui/application.cpp
index 1182ecdd48eeafe256d283894debc7ef9a248955..7f56379727ddfabc07294405d38be396c76ec38e 100644
(file)
--- 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*)),