reordered resize call

This commit is contained in:
fourtf
2020-02-21 02:07:34 +01:00
parent 70e5bd1bfd
commit 927ee09221
+1 -4
View File
@@ -26,18 +26,15 @@ SettingsDialog::SettingsDialog()
: BaseWindow(BaseWindow::DisableCustomScaling) : BaseWindow(BaseWindow::DisableCustomScaling)
{ {
this->setWindowTitle("Chatterino Settings"); this->setWindowTitle("Chatterino Settings");
this->resize(815, 600);
this->themeChangedEvent(); this->themeChangedEvent();
this->scaleChangedEvent(this->scale()); this->scaleChangedEvent(this->scale());
this->initUi(); this->initUi();
this->addTabs(); this->addTabs();
this->overrideBackgroundColor_ = QColor("#111111"); this->overrideBackgroundColor_ = QColor("#111111");
this->scaleChangedEvent( this->scaleChangedEvent(
this->scale()); // execute twice to fix performance + width of item this->scale()); // execute twice to fix performance + width of item
this->resize(815, 600);
} }
void SettingsDialog::initUi() void SettingsDialog::initUi()