summaryrefslogtreecommitdiffstats
path: root/kdeprint/kmuimanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdeprint/kmuimanager.cpp')
-rw-r--r--kdeprint/kmuimanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdeprint/kmuimanager.cpp b/kdeprint/kmuimanager.cpp
index 53921d39f..78f5c209f 100644
--- a/kdeprint/kmuimanager.cpp
+++ b/kdeprint/kmuimanager.cpp
@@ -144,7 +144,7 @@ void KMUiManager::setupPropertyDialog(KPrinterPropertyDialog *dlg)
// retrieve the KPrinter object
KPrinter *prt(0);
if (dlg->parent() && dlg->parent()->isA("KPrintDialog"))
- prt = static_cast<KPrintDialog*>(dlg->parent())->printer();
+ prt = static_cast<KPrintDialog*>(TQT_TQWIDGET(dlg->parent()))->printer();
// add margin page
if ( ( prt && !prt->fullPage() && prt->applicationType() == KPrinter::Dialog )