summaryrefslogtreecommitdiffstats
path: root/knewsticker/knewstickerconfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knewsticker/knewstickerconfig.cpp')
-rw-r--r--knewsticker/knewstickerconfig.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/knewsticker/knewstickerconfig.cpp b/knewsticker/knewstickerconfig.cpp
index 9f868beb..34024edc 100644
--- a/knewsticker/knewstickerconfig.cpp
+++ b/knewsticker/knewstickerconfig.cpp
@@ -421,10 +421,10 @@ void KNewsTickerConfig::slotModifyNewsSource()
void KNewsTickerConfig::slotModifyNewsSource(const NewsSourceBase::Data &nsd)
{
if (m_modifyItem->data().subject != nsd.subject) {
- TQListViewItem *tqparentItem = m_modifyItem->tqparentItem();
- tqparentItem->takeItem(m_modifyItem);
- if (tqparentItem->childCount() == 0)
- delete tqparentItem;
+ TQListViewItem *parentItem = m_modifyItem->parentItem();
+ parentItem->takeItem(m_modifyItem);
+ if (parentItem->childCount() == 0)
+ delete parentItem;
CategoryItem *catItem = 0L;