diff options
| author | Peter Penz <[email protected]> | 2012-01-15 10:39:11 +0100 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2012-01-15 10:41:06 +0100 |
| commit | df6a28653e1439885a719081f086070111484c3b (patch) | |
| tree | fdef3975a79815186030a51f05b3b78cb3238acc /src/kitemviews/kfileitemmodelrolesupdater.h | |
| parent | ed429d73097492591ee5025c80bea93eb4cbc23c (diff) | |
Don't show a expanding-toggle in the Folders Panel if there are no subdirectories
BUG: 290745
FIXED-IN: 4.8.0
Diffstat (limited to 'src/kitemviews/kfileitemmodelrolesupdater.h')
| -rw-r--r-- | src/kitemviews/kfileitemmodelrolesupdater.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/kitemviews/kfileitemmodelrolesupdater.h b/src/kitemviews/kfileitemmodelrolesupdater.h index 5ed45a6ec..b3945d14d 100644 --- a/src/kitemviews/kfileitemmodelrolesupdater.h +++ b/src/kitemviews/kfileitemmodelrolesupdater.h @@ -164,7 +164,10 @@ private: KFileItemList sortedItems(const QSet<KFileItem>& items) const; - int subDirectoriesCount(const QString& path) const; + /** + * @return The number of items of the path \a path. + */ + int subItemsCount(const QString& path) const; private: // Property for setPaused()/isPaused(). |
