Remove even more uses of deprecated typedefs

Change-Id: Icb48d484f760eb11ef2d41d8271e43f4f51c2e91
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
hjk
2016-01-22 14:00:08 +01:00
parent 74eb8db29f
commit 677effda78
5 changed files with 9 additions and 9 deletions

View File

@@ -42,7 +42,7 @@ void NameDelegate::paint(QPainter *painter, const QStyleOptionViewItem &option,
const QModelIndex &index) const
{
// init
QStyleOptionViewItemV4 opt(option);
QStyleOptionViewItem opt(option);
initStyleOption(&opt, index);
const int margin = 2;