1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

feat(UI): make font in message input field use font settings

Right now it requires qTox restart to take effect in all chats.

Should help with 4k high-dpi displays.
This commit is contained in:
Zetok Zalbavar 2016-12-17 10:51:43 +00:00
parent 326d5219bc
commit c14cbdf4fd
No known key found for this signature in database
GPG Key ID: C953D3880212068A

View File

@ -83,6 +83,8 @@ GenericChatForm::GenericChatForm(QWidget *parent)
chatWidget, &ChatLog::forceRelayout);
msgEdit = new ChatTextEdit();
// TODO: make it work without restart
msgEdit->setCurrentFont(s.getChatMessageFont());
sendButton = new QPushButton();
emoteButton = new QPushButton();