Wizards: remove empty line and replace tabs with spaces

Change-Id: I5decd680f92ee78a036be894aee42226b73dd053
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Tim Jenssen
2017-07-17 12:29:38 +02:00
parent c5cc3e2594
commit dbb67fd5c3

View File

@@ -125,14 +125,14 @@ public:
return sourceModel()->columnCount(mapToSource(index));
}
QModelIndex mapFromSource (const QModelIndex &index) const
QModelIndex mapFromSource (const QModelIndex &index) const
{
if (!index.isValid())
return QModelIndex();
return createIndex(index.row(), index.column(), index.internalPointer());
}
QModelIndex mapToSource (const QModelIndex &index) const
QModelIndex mapToSource (const QModelIndex &index) const
{
if (!index.isValid())
return QModelIndex();
@@ -172,7 +172,6 @@ public:
{
QSize size = QItemDelegate::sizeHint(option, index);
size = size.expandedTo(QSize(0, ROW_HEIGHT));
return size;