Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
fix: initialization theme
Browse files Browse the repository at this point in the history
  • Loading branch information
TriKriSta committed Feb 24, 2019
1 parent 827e3b7 commit d517c3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/widget/widget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,6 @@ void Widget::init()
ui->statusButton->setEnabled(false);

Style::setThemeColor(settings.getThemeColor());
reloadTheme();
updateIcons();

filesForm = new FilesForm();
addFriendForm = new AddFriendForm;
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit d517c3a

Please sign in to comment.