[plasma/kwin] src/kcms/decoration/declarative-plugin: kcms/decoration: use QSizeF for PreviewClient size

Vlad Zahorodnii <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 7dc0df689596180b8b9abfce9b8fc71ab4c5d097 by Vlad Zahorodnii, on behalf of Li Kai.
Committed on 10/08/2026 at 13:40.
Pushed by vladz into branch 'master'.

kcms/decoration: use QSizeF for PreviewClient size

M  +1    -1    src/kcms/decoration/declarative-plugin/previewclient.cpp

https://invent.kde.org/plasma/kwin/-/commit/7dc0df689596180b8b9abfce9b8fc71ab4c5d097

diff --git a/src/kcms/decoration/declarative-plugin/previewclient.cpp b/src/kcms/decoration/declarative-plugin/previewclient.cpp
index 9522c411e1c..7612538bf10 100644
--- a/src/kcms/decoration/declarative-plugin/previewclient.cpp
+++ b/src/kcms/decoration/declarative-plugin/previewclient.cpp
@@ -116,7 +116,7 @@ qreal PreviewClient::height() const
 
 QSizeF PreviewClient::size() const
 {
-    return QSize(m_width, m_height);
+    return QSizeF(m_width, m_height);
 }
 
 QString PreviewClient::caption() const
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.