Qt: More C89 changes.
This commit is contained in:
parent
95ed844d81
commit
a396008bf6
|
@ -346,8 +346,9 @@ QRegion GridView::visualRegionForSelection(const QItemSelection &selection) cons
|
||||||
|
|
||||||
for (i; i < selection.size(); i++)
|
for (i; i < selection.size(); i++)
|
||||||
{
|
{
|
||||||
|
int row;
|
||||||
range = selection.at(i);
|
range = selection.at(i);
|
||||||
int row = range.top();
|
row = range.top();
|
||||||
for (row; row <= range.bottom(); ++row)
|
for (row; row <= range.bottom(); ++row)
|
||||||
{
|
{
|
||||||
int column = range.left();
|
int column = range.left();
|
||||||
|
|
|
@ -44,7 +44,7 @@ protected slots:
|
||||||
void rowsInserted(const QModelIndex &parent, int start, int end);
|
void rowsInserted(const QModelIndex &parent, int start, int end);
|
||||||
void rowsRemoved(const QModelIndex &parent, int start, int end);
|
void rowsRemoved(const QModelIndex &parent, int start, int end);
|
||||||
void updateGeometries();
|
void updateGeometries();
|
||||||
void reset() override;
|
void reset();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers);
|
QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers);
|
||||||
|
|
Loading…
Reference in New Issue