diff options
| author | Peter Penz <[email protected]> | 2012-01-15 10:39:11 +0100 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2012-01-15 10:41:44 +0100 |
| commit | 8306a0fa6cf004c552ab2540c8915ecb0124fdcf (patch) | |
| tree | cf6cdf3f00f6f27f152afa38c2d7aacf56aec5a3 /src/kitemviews/kfileitemmodelrolesupdater.h | |
| parent | f38a70f5d06fdb6e9cb821e89b211edaf13390f1 (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(). |
