summaryrefslogtreecommitdiffstats
path: root/kdeprint/management/kmlistview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdeprint/management/kmlistview.cpp')
-rw-r--r--kdeprint/management/kmlistview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdeprint/management/kmlistview.cpp b/kdeprint/management/kmlistview.cpp
index 4a35a230e..9bcaa44d3 100644
--- a/kdeprint/management/kmlistview.cpp
+++ b/kdeprint/management/kmlistview.cpp
@@ -157,7 +157,7 @@ KMListViewItem* KMListView::findItem(KMPrinter *p)
if (isVirtual)
{
if (it.current()->depth() == 3 && it.current()->text(0) == p->instanceName()
- && it.current()->parent()->text(0) == p->printerName())
+ && it.current()->tqparent()->text(0) == p->printerName())
return it.current();
}
else