summaryrefslogtreecommitdiffstats
path: root/kexi/main/printing/kexisimpleprintingengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/main/printing/kexisimpleprintingengine.cpp')
-rw-r--r--kexi/main/printing/kexisimpleprintingengine.cpp4
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);