From d517c3a638a9355ba8a799fd00119a56a3e9c88d Mon Sep 17 00:00:00 2001 From: TriKriSta Date: Sun, 24 Feb 2019 23:26:10 +0200 Subject: [PATCH] fix: initialization theme --- src/widget/widget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/widget/widget.cpp b/src/widget/widget.cpp index dc2c68a5e..7d5a7bcdd 100644 --- a/src/widget/widget.cpp +++ b/src/widget/widget.cpp @@ -220,8 +220,6 @@ void Widget::init() ui->statusButton->setEnabled(false); Style::setThemeColor(settings.getThemeColor()); - reloadTheme(); - updateIcons(); filesForm = new FilesForm(); addFriendForm = new AddFriendForm; @@ -388,6 +386,8 @@ void Widget::init() connect(&settings, &Settings::groupchatPositionChanged, contactListWidget, &FriendListWidget::onGroupchatPositionChanged); + reloadTheme(); + updateIcons(); retranslateUi(); Translator::registerHandler(std::bind(&Widget::retranslateUi, this), this);