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);
|
ui->statusButton->setEnabled(false);
|
||||||
|
|
||||||
Style::setThemeColor(settings.getThemeColor());
|
Style::setThemeColor(settings.getThemeColor());
|
||||||
reloadTheme();
|
|
||||||
updateIcons();
|
|
||||||
|
|
||||||
filesForm = new FilesForm();
|
filesForm = new FilesForm();
|
||||||
addFriendForm = new AddFriendForm;
|
addFriendForm = new AddFriendForm;
|
||||||
@ -388,6 +386,8 @@ void Widget::init()
|
|||||||
connect(&settings, &Settings::groupchatPositionChanged, contactListWidget,
|
connect(&settings, &Settings::groupchatPositionChanged, contactListWidget,
|
||||||
&FriendListWidget::onGroupchatPositionChanged);
|
&FriendListWidget::onGroupchatPositionChanged);
|
||||||
|
|
||||||
|
reloadTheme();
|
||||||
|
updateIcons();
|
||||||
retranslateUi();
|
retranslateUi();
|
||||||
Translator::registerHandler(std::bind(&Widget::retranslateUi, this), this);
|
Translator::registerHandler(std::bind(&Widget::retranslateUi, this), this);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user