summaryrefslogtreecommitdiffstats
path: root/libkdchart
diff options
context:
space:
mode:
Diffstat (limited to 'libkdchart')
-rw-r--r--libkdchart/KDChartParams_io.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libkdchart/KDChartParams_io.cpp b/libkdchart/KDChartParams_io.cpp
index 3a3d637..e24ce59 100644
--- a/libkdchart/KDChartParams_io.cpp
+++ b/libkdchart/KDChartParams_io.cpp
@@ -786,7 +786,7 @@ TQDomDocument KDChartParams::saveXML( bool withPI ) const
// the Qt::Orientation element
KDXML::createOrientationNode( doc, legendSettingsElement,
- "Qt::Orientation", _legendOrientation );
+ "Orientation", _legendOrientation );
// the ShowLines element
KDXML::createBoolNode( doc, legendSettingsElement,
@@ -1879,7 +1879,7 @@ bool KDChartParams::loadXML( const TQDomDocument& doc )
TQString string;
if( KDXML::readStringNode( element, string ) )
_legendPosition = KDChartParams::stringToLegendPosition( string );
- } else if( tagName == "Qt::Orientation" ) {
+ } else if( tagName == "Orientation" ) {
Qt::Orientation value=Qt::Vertical;
if( KDXML::readOrientationNode( element, value ) )
_legendOrientation = value;