Fix instances of Orientation in quotes which were accidentally renamed to Qt::Orientation during TQt conversion

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1244690 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent b150531c35
commit 154e6e6105

@ -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;

Loading…
Cancel
Save