Qt: More C89 changes.

This commit is contained in:
CozmoP 2018-12-19 08:57:00 +01:00
parent 95ed844d81
commit a396008bf6
2 changed files with 3 additions and 2 deletions

View File

@ -346,8 +346,9 @@ QRegion GridView::visualRegionForSelection(const QItemSelection &selection) cons
for (i; i < selection.size(); i++)
{
int row;
range = selection.at(i);
int row = range.top();
row = range.top();
for (row; row <= range.bottom(); ++row)
{
int column = range.left();

View File

@ -44,7 +44,7 @@ protected slots:
void rowsInserted(const QModelIndex &parent, int start, int end);
void rowsRemoved(const QModelIndex &parent, int start, int end);
void updateGeometries();
void reset() override;
void reset();
protected:
QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers);