diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-03 18:10:36 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-03 18:10:36 +0000 |
commit | e7e4b0b68cf15e861bb8f0f7ee76156460cdf97d (patch) | |
tree | 0d7b18b719cc71b15efcb5be91e4ca2f9926bf9e /kexi/main | |
parent | 86ea45fe5947020ff39e593b7f86f3c8b518d79b (diff) | |
download | koffice-e7e4b0b68cf15e861bb8f0f7ee76156460cdf97d.tar.gz koffice-e7e4b0b68cf15e861bb8f0f7ee76156460cdf97d.zip |
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/koffice@1244690 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kexi/main')
-rw-r--r-- | kexi/main/printing/kexisimpleprintingengine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kexi/main/printing/kexisimpleprintingengine.cpp b/kexi/main/printing/kexisimpleprintingengine.cpp index 34b8af21..59a86efd 100644 --- a/kexi/main/printing/kexisimpleprintingengine.cpp +++ b/kexi/main/printing/kexisimpleprintingengine.cpp @@ -71,7 +71,7 @@ KexiSimplePrintingSettings KexiSimplePrintingSettings::load() if (config->hasKey("pageFormat")) settings.pageLayout.format = KoPageFormat::formatFromString( config->readEntry("pageFormat" ) ); - if (config->readEntry("pageQt::Orientation", "portrait").lower()=="landscape") + if (config->readEntry("pageOrientation", "portrait").lower()=="landscape") settings.pageLayout.orientation = PG_LANDSCAPE; else settings.pageLayout.orientation = PG_PORTRAIT; @@ -99,7 +99,7 @@ void KexiSimplePrintingSettings::save() config->setGroup("Simple Printing"); config->writeEntry( "pageTitleFont", pageTitleFont ); config->writeEntry( "pageFormat", KoPageFormat::formatString( pageLayout.format ) ); - config->writeEntry("pageQt::Orientation", + config->writeEntry("pageOrientation", pageLayout.orientation == PG_PORTRAIT ? "portrait" : "landscape"); config->writeEntry("pageWidth", pageLayout.ptWidth); config->writeEntry("pageHeight", pageLayout.ptHeight); |