diff options
author | Stephen Kelly <stephen.kelly@kdab.com> | 2012-09-19 14:06:11 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-09-21 02:44:22 +0200 |
commit | f4a8383a9a01f94262fef8049cabb4e0972f68e8 (patch) | |
tree | 5a535b3e08db9ce68206284019e1e6f48f241514 /src/widgets/itemviews/qcolumnview.cpp | |
parent | 5ad378859a185c681cdea39a21c850b46e1369bb (diff) |
Replace QStyleOptionViewItemV? with QStyleOptionViewItem
The former are a typedef for the latter in Qt 5. This only touches
internal implementation, as the API was migrated long ago.
Change-Id: Ided73021ebecc00508e6325c3d988b6c6ad336cd
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'src/widgets/itemviews/qcolumnview.cpp')
-rw-r--r-- | src/widgets/itemviews/qcolumnview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/itemviews/qcolumnview.cpp b/src/widgets/itemviews/qcolumnview.cpp index 24b25ccb8a..a9ed7efeb2 100644 --- a/src/widgets/itemviews/qcolumnview.cpp +++ b/src/widgets/itemviews/qcolumnview.cpp @@ -1134,7 +1134,7 @@ void QColumnViewDelegate::paint(QPainter *painter, bool reverse = (option.direction == Qt::RightToLeft); int width = ((option.rect.height() * 2) / 3); // Modify the options to give us room to add an arrow - QStyleOptionViewItemV4 opt = option; + QStyleOptionViewItem opt = option; if (reverse) opt.rect.adjust(width,0,0,0); else |