diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:02:17 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:02:17 +0200 |
commit | b9203ee84953006547f4afd58f405874c87bf0dc (patch) | |
tree | 9e41f1533f120e9268e86658c52458630ffd718a /ui/gridView.h | |
parent | 3.0 (diff) | |
download | FreeFileSync-b9203ee84953006547f4afd58f405874c87bf0dc.tar.gz FreeFileSync-b9203ee84953006547f4afd58f405874c87bf0dc.tar.bz2 FreeFileSync-b9203ee84953006547f4afd58f405874c87bf0dc.zip |
3.1
Diffstat (limited to 'ui/gridView.h')
-rw-r--r-- | ui/gridView.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/gridView.h b/ui/gridView.h index de9b1caa..5ab28a44 100644 --- a/ui/gridView.h +++ b/ui/gridView.h @@ -13,8 +13,8 @@ public: //direct data access via row number const FileSystemObject* getObject(unsigned int row) const; //returns NULL if object is not found; logarithmic complexity FileSystemObject* getObject(unsigned int row); // - unsigned int rowsOnView() const; //only the currently visible elements - unsigned int rowsTotal() const; //total number of rows available + size_t rowsOnView() const; //only the currently visible elements + size_t rowsTotal() const; //total number of rows available //get references to FileSystemObject: no NULL-check needed! Everything's bound. void getAllFileRef(const std::set<unsigned int>& guiRows, std::vector<FileSystemObject*>& output); @@ -185,7 +185,7 @@ FileSystemObject* GridView::getObject(unsigned int row) inline -unsigned int GridView::rowsOnView() const +size_t GridView::rowsOnView() const { return viewRef.size(); } @@ -198,7 +198,7 @@ FolderComparison& GridView::getDataTentative() } inline -unsigned int GridView::rowsTotal() const //total number of rows available +size_t GridView::rowsTotal() const //total number of rows available { return sortedRef.size(); } |