forked from qt-creator/qt-creator
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user