summaryrefslogtreecommitdiffstats
path: root/kresources/slox/sloxfolderdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/slox/sloxfolderdialog.cpp')
-rw-r--r--kresources/slox/sloxfolderdialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kresources/slox/sloxfolderdialog.cpp b/kresources/slox/sloxfolderdialog.cpp
index acf871b2f..d58a18e1d 100644
--- a/kresources/slox/sloxfolderdialog.cpp
+++ b/kresources/slox/sloxfolderdialog.cpp
@@ -70,8 +70,8 @@ void SloxFolderDialog::createFolderViewItem( SloxFolder *folder )
return;
if ( folder->type() != mFolderType && folder->type() != Unbound )
return;
- if( mManager->folders().tqcontains( folder->tqparentId() ) ) {
- SloxFolder *tqparent = mManager->folders()[folder->tqparentId()];
+ if( mManager->folders().tqcontains( folder->parentId() ) ) {
+ SloxFolder *tqparent = mManager->folders()[folder->parentId()];
createFolderViewItem( tqparent );
if ( tqparent->item )
folder->item = new KListViewItem( tqparent->item );