summaryrefslogtreecommitdiffstats
path: root/kdeprint/management/kxmlcommanddlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdeprint/management/kxmlcommanddlg.cpp')
-rw-r--r--kdeprint/management/kxmlcommanddlg.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kdeprint/management/kxmlcommanddlg.cpp b/kdeprint/management/kxmlcommanddlg.cpp
index 474f9b61b..135ebbe4c 100644
--- a/kdeprint/management/kxmlcommanddlg.cpp
+++ b/kdeprint/management/kxmlcommanddlg.cpp
@@ -683,7 +683,7 @@ void KXmlCommandAdvancedDlg::slotRemoveItem()
{
TQListViewItem *newCurrent(item->nextSibling());
if (!newCurrent)
- newCurrent = item->tqparent();
+ newCurrent = item->parent();
removeItem(item);
delete item;
m_view->setSelected(newCurrent, true);
@@ -713,7 +713,7 @@ void KXmlCommandAdvancedDlg::slotMoveUp()
item->moveItem(after);
else
{
- TQListViewItem *parent = item->tqparent();
+ TQListViewItem *parent = item->parent();
parent->takeItem(item);
parent->insertItem(item);
}