From a0b913f65dab88b0921b9e806c0ccf7bdd0f9b9a Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Mon, 21 Dec 2015 15:35:45 +0100 Subject: [PATCH] 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 1182ecdd4..7f5637972 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*)), -- 2.30.2