From 3cf56669c587f99e10981176de66b0d397e06179 Mon Sep 17 00:00:00 2001 From: nerix Date: Sun, 12 Jan 2025 13:29:23 +0100 Subject: [PATCH] fix: set initial size of widgets (#5794) --- CHANGELOG.md | 1 + src/widgets/BaseWidget.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 09107c7f..089d8f67 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ - Bugfix: Fixed a crash relating to Lua HTTP. (#5800) - Bugfix: Fixed a crash that could occur on Linux and macOS when clicking "Install" from the update prompt. (#5818) - Bugfix: Fixed missing word wrap in update popup. (#5811) +- Bugfix: Fixed tabs not scaling to the default scale when changing the scale from a non-default value. (#5794) - Dev: Updated Conan dependencies. (#5776) ## 2.5.2 diff --git a/src/widgets/BaseWidget.cpp b/src/widgets/BaseWidget.cpp index f2a6160d..e12fc8c3 100644 --- a/src/widgets/BaseWidget.cpp +++ b/src/widgets/BaseWidget.cpp @@ -19,6 +19,7 @@ namespace chatterino { BaseWidget::BaseWidget(QWidget *parent, Qt::WindowFlags f) : QWidget(parent, f) , theme(getApp()->getThemes()) + , scale_(this->scale()) { this->signalHolder_.managedConnect(this->theme->updated, [this]() { this->themeChangedEvent();