[libraries/ktextaddons/2.1] textautogeneratetext/plugins/plugincommon: Initialize variable

Laurent Montel <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 0f89db8d679461e66587f45daa93d4723adee99f by Laurent Montel.
Committed on 21/07/2026 at 11:26.
Pushed by mlaurent into branch '2.1'.

Initialize variable

M  +1    -1    textautogeneratetext/plugins/plugincommon/plugincommonmodelinstalledinfosdelegate.h

https://invent.kde.org/libraries/ktextaddons/-/commit/0f89db8d679461e66587f45daa93d4723adee99f

diff --git a/textautogeneratetext/plugins/plugincommon/plugincommonmodelinstalledinfosdelegate.h b/textautogeneratetext/plugins/plugincommon/plugincommonmodelinstalledinfosdelegate.h
index 4dfc219fc..4309a1015 100644
--- a/textautogeneratetext/plugins/plugincommon/plugincommonmodelinstalledinfosdelegate.h
+++ b/textautogeneratetext/plugins/plugincommon/plugincommonmodelinstalledinfosdelegate.h
@@ -34,7 +34,7 @@ private:
     struct ModelInfoLayout {
         // Text
         QRect textRect;
-        qreal baseLine; // used to draw sender/timestamp
+        qreal baseLine = 0.0; // used to draw sender/timestamp
 
         QList<CategoryLayout> categoriesLayout;
         QRect categoryRect;
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.