summaryrefslogtreecommitdiffstats
path: root/tdeprint/kpmarginpage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeprint/kpmarginpage.cpp')
-rw-r--r--tdeprint/kpmarginpage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdeprint/kpmarginpage.cpp b/tdeprint/kpmarginpage.cpp
index 554679ee7..ab70211c8 100644
--- a/tdeprint/kpmarginpage.cpp
+++ b/tdeprint/kpmarginpage.cpp
@@ -62,7 +62,7 @@ void KPMarginPage::initPageSize(const TQString& ps, bool landscape)
// first retrieve the Qt values for page size and margins
TQPrinter prt(TQPrinter::PrinterResolution);
prt.setFullPage(true);
- prt.setPageSize((TQPrinter::PageSize)(ps.isEmpty() ? KGlobal::locale()->pageSize() : ps.toInt()));
+ prt.setPageSize((TQPrinter::PageSize)(ps.isEmpty() ? TDEGlobal::locale()->pageSize() : ps.toInt()));
TQPaintDeviceMetrics metrics(&prt);
float w = metrics.width();
float h = metrics.height();