summaryrefslogtreecommitdiffstats
path: root/libkdchart/KDXMLTools.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-06-05 13:45:55 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-06-05 20:55:05 +0900
commit43cb2df63d88369e209ece2a7030552d52861cd1 (patch)
treed65c76a0596fc0cd45b43dcf5a402fd1977fa2bc /libkdchart/KDXMLTools.cpp
parent1a2f76163a8ce08c850f1f632d0a295be57d6807 (diff)
downloadkmymoney-43cb2df63d88369e209ece2a7030552d52861cd1.tar.gz
kmymoney-43cb2df63d88369e209ece2a7030552d52861cd1.zip
Drop use of COMPAT_TQT_VERSION define
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit c45ec5d9bde729f8a40f2e59c886c629d2e43a93)
Diffstat (limited to 'libkdchart/KDXMLTools.cpp')
-rw-r--r--libkdchart/KDXMLTools.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/libkdchart/KDXMLTools.cpp b/libkdchart/KDXMLTools.cpp
index 4450fd3..7ccecb2 100644
--- a/libkdchart/KDXMLTools.cpp
+++ b/libkdchart/KDXMLTools.cpp
@@ -227,10 +227,6 @@ namespace KDXML {
createIntNode( doc, fontElement, "PointSize", font.pointSize() );
createIntNode( doc, fontElement, "Weight", font.weight() );
createBoolNode( doc, fontElement, "Italic", font.italic() );
-#if COMPAT_TQT_VERSION < 0x030000
- // TQt 3 handles the charset internally.
- createIntNode( doc, fontElement, "CharSet", font.charSet() );
-#endif
}
@@ -619,10 +615,6 @@ namespace KDXML {
font.setPointSize( pointSize );
font.setWeight( weight );
font.setItalic( italic );
-#if COMPAT_TQT_VERSION < 0x030000
- // TQt 3 handles charsets internally.
- font.setCharSet( (TQFont::CharSet)charSet );
-#endif
}
return ok;