https://bugs.kde.org/show_bug.cgi?id=470523

Friedrich W. H. Kossebau <kosse...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|REPORTED                    |RESOLVED
   Version Fixed In|                            |2.5.0
      Latest Commit|                            |https://invent.kde.org/grap
                   |                            |hics/kgraphviewer/-/commit/
                   |                            |acb5fec4e9614324acdbc4cfce4
                   |                            |f387df65bd0f4

--- Comment #1 from Friedrich W. H. Kossebau <kosse...@kde.org> ---
Git commit acb5fec4e9614324acdbc4cfce4f387df65bd0f4 by Friedrich W. H.
Kossebau.
Committed on 16/04/2024 at 09:16.
Pushed by kossebau into branch 'master'.

Fix bad defaults for fonts, also for colors, shapes & style

The refactoring started in 117f22918f594a046e8e541701a3cd863539cdd0 seems
to have missed out follow-up work to ensure defaults are used where not
set explicitly, as before. e47e5ae6d38c0e16b90714f1887b827a009999d4
later only ensured explicit default font size values exist.
Dot2QtConsts covers many of the defaults indirectly. For QFont though
it was using "" as fort family name, which resulted in random fonts being
picked by Qt.

The implementation now avoids adding explicit attribute instances, but
instead returns default values if not set, for less runtime memory usage.
Related: bug 477036
FIXED-IN: 2.5.0

M  +59   -11   src/part/graphelement.cpp
M  +7    -28   src/part/graphelement.h

https://invent.kde.org/graphics/kgraphviewer/-/commit/acb5fec4e9614324acdbc4cfce4f387df65bd0f4

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to