summaryrefslogtreecommitdiffstats
path: root/examples/sql
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2015-11-02 15:35:10 +0100
committerMarc Mutz <marc.mutz@kdab.com>2015-11-02 18:43:26 +0000
commit1c9f53c4e55090be6db48962705a4e01db5b3109 (patch)
tree3040227c02ae2074bfc61de4d2f3455d6238cf02 /examples/sql
parent8c5acf6573783fc0f9ca6e7301db52db6efc7741 (diff)
examples: remove use of obsolete QStyleOption*V<N> typedefs
These are obsolete since Qt 5.0. Change-Id: I297477eff129558553f52a04bb7828d95db27969 Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
Diffstat (limited to 'examples/sql')
-rw-r--r--examples/sql/books/bookdelegate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/sql/books/bookdelegate.cpp b/examples/sql/books/bookdelegate.cpp
index ff965eda44..afc4edf434 100644
--- a/examples/sql/books/bookdelegate.cpp
+++ b/examples/sql/books/bookdelegate.cpp
@@ -44,7 +44,7 @@ void BookDelegate::paint(QPainter *painter, const QStyleOptionViewItem &option,
const QModelIndex &index) const
{
if (index.column() != 5) {
- QStyleOptionViewItemV3 opt = option;
+ QStyleOptionViewItem opt = option;
opt.rect.adjust(0, 0, -1, -1); // since we draw the grid ourselves
QSqlRelationalDelegate::paint(painter, opt, index);
} else {