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

fix: initialization theme

This commit is contained in:
TriKriSta 2019-02-24 23:26:10 +02:00
parent 827e3b734c
commit d517c3a638

View File

@ -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);