diff options
| author | Peter Penz <[email protected]> | 2012-02-03 23:07:33 +0100 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2012-02-03 23:12:12 +0100 |
| commit | 1041f340a2ddb634476c5d84585a56c29e5a70fd (patch) | |
| tree | b627a3c118e059215802b2bc4356395aac77271b /src/kitemviews/kfileitemmodel.h | |
| parent | 7bbdb66618625c2db58b0fce1999c433dc946dc5 (diff) | |
Show the value "Unknown" for the item-count only after it has been verified
During determining the item-count for directories just show an empty string
until either the item-count has been calculated or if the item-count is unknown.
Thanks to Nikita Skovoroda for the initial proof-of-concept patch.
BUG: 291823
FIXED-IN: 4.8.1
Diffstat (limited to 'src/kitemviews/kfileitemmodel.h')
| -rw-r--r-- | src/kitemviews/kfileitemmodel.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/kitemviews/kfileitemmodel.h b/src/kitemviews/kfileitemmodel.h index d819c3734..ff816c85c 100644 --- a/src/kitemviews/kfileitemmodel.h +++ b/src/kitemviews/kfileitemmodel.h @@ -330,12 +330,6 @@ private: */ KFileItemList childItems(const KFileItem& item) const; - /** - * Helper method for sortRoleCompare(). - * @return 0 if both sizes are equal, +1 if a > b and -1 if a < b. - */ - static int fileSizeCompare(KIO::filesize_t a, KIO::filesize_t b); - private: QWeakPointer<KDirLister> m_dirLister; |
