Fixed OSX clang compile error (from -Wtautological-compare)

This commit is contained in:
Jake Turner
2017-01-04 12:52:54 +00:00
committed by Baldur Karlsson
parent a91c355062
commit 0d52eeed35
+1 -1
View File
@@ -112,7 +112,7 @@ public:
uint32_t row = index.row();
int col = index.column();
if(col >= 0 && col < columnCount() && row >= 0 && row < numRows)
if(col >= 0 && col < columnCount() && row < numRows)
{
if(col == 0)
return row;