From dbb67fd5c3219e6d2c92df67d57d3d376bc5f7c1 Mon Sep 17 00:00:00 2001 From: Tim Jenssen Date: Mon, 17 Jul 2017 12:29:38 +0200 Subject: [PATCH] Wizards: remove empty line and replace tabs with spaces Change-Id: I5decd680f92ee78a036be894aee42226b73dd053 Reviewed-by: Christian Stenger --- src/plugins/coreplugin/dialogs/newdialog.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/plugins/coreplugin/dialogs/newdialog.cpp b/src/plugins/coreplugin/dialogs/newdialog.cpp index f38a43e73b2..45fe813a979 100644 --- a/src/plugins/coreplugin/dialogs/newdialog.cpp +++ b/src/plugins/coreplugin/dialogs/newdialog.cpp @@ -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;