From 06eb30a50a862ea2453806d117df620fe55f0ce5 Mon Sep 17 00:00:00 2001 From: pajlada Date: Sat, 23 Sep 2023 23:14:53 +0200 Subject: [PATCH] fix: double margin (#4839) order of the QMargins class differed from the old custom Margins class Fixes #4838 --- CHANGELOG.md | 2 +- src/messages/layouts/MessageLayoutContainer.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c6a57398c..86c09025f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,7 @@ - Bugfix: Fixed selection of tabs after closing a tab when using "Live Tabs Only". (#4770) - Bugfix: Fixed input in reply thread popup losing focus when dragging. (#4815) - Bugfix: Fixed the Quick Switcher (CTRL+K) from sometimes showing up on the wrong window. (#4819) -- Bugfix: Fixed too much text being copied when copying chat messages. (#4812, #4830) +- Bugfix: Fixed too much text being copied when copying chat messages. (#4812, #4830, #4839) - Dev: Fixed UTF16 encoding of `modes` file for the installer. (#4791) - Dev: Temporarily disable High DPI scaling on Qt6 builds on Windows. (#4767) - Dev: Tests now run on Ubuntu 22.04 instead of 20.04 to loosen C++ restrictions in tests. (#4774) diff --git a/src/messages/layouts/MessageLayoutContainer.cpp b/src/messages/layouts/MessageLayoutContainer.cpp index efb59cc36..ec2995b7d 100644 --- a/src/messages/layouts/MessageLayoutContainer.cpp +++ b/src/messages/layouts/MessageLayoutContainer.cpp @@ -23,7 +23,7 @@ namespace { -constexpr const QMargins MARGIN{4, 8, 4, 8}; +constexpr const QMargins MARGIN{8, 4, 8, 4}; } // namespace