┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kitemviews/kfileitemmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kitemviews/kfileitemmodel.h')
-rw-r--r--src/kitemviews/kfileitemmodel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kitemviews/kfileitemmodel.h b/src/kitemviews/kfileitemmodel.h
index b984ee14c..bc692e7c9 100644
--- a/src/kitemviews/kfileitemmodel.h
+++ b/src/kitemviews/kfileitemmodel.h
@@ -207,6 +207,7 @@ private:
{
KFileItem item;
QHash<QByteArray, QVariant> values;
+ ItemData* parent;
};
void insertItems(const KFileItemList& items);
@@ -276,7 +277,7 @@ private:
* is not sufficient, it is also important to check the hierarchy for having
* a correct order like shown in a tree.
*/
- int expansionLevelsCompare(const KFileItem& a, const KFileItem& b) const;
+ int expansionLevelsCompare(const ItemData* a, const ItemData* b) const;
/**
* Helper method for expansionLevelCompare().