summaryrefslogtreecommitdiff
path: root/ui/gridView.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:02:17 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:02:17 +0200
commitb9203ee84953006547f4afd58f405874c87bf0dc (patch)
tree9e41f1533f120e9268e86658c52458630ffd718a /ui/gridView.h
parent3.0 (diff)
downloadFreeFileSync-b9203ee84953006547f4afd58f405874c87bf0dc.tar.gz
FreeFileSync-b9203ee84953006547f4afd58f405874c87bf0dc.tar.bz2
FreeFileSync-b9203ee84953006547f4afd58f405874c87bf0dc.zip
3.1
Diffstat (limited to 'ui/gridView.h')
-rw-r--r--ui/gridView.h8
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();
}
bgstack15