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:
parent
827e3b734c
commit
d517c3a638
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user