Commit 026d3d10 authored by Albert Astals Cid's avatar Albert Astals Cid

Fix small warning

parent a44b0157
......@@ -184,7 +184,7 @@ QModelIndex PageGroupProxyModel::mapToSource( const QModelIndex &proxyIndex ) co
return mTreeIndexes[ proxyIndex.row() ].first;
} else {
if ( proxyIndex.internalId() - 1 >= mTreeIndexes.count() ||
if ( qint32(proxyIndex.internalId()) - 1 >= mTreeIndexes.count() ||
proxyIndex.row() >= mTreeIndexes[ proxyIndex.internalId() - 1 ].second.count() )
return QModelIndex();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment