From 9c3720ceb9f50363c101e84f0f81fdb0888d4189 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Gannaz?= Date: Mon, 1 Apr 2019 10:35:47 +0200 Subject: [PATCH] Library: fix misleading indentation --- YACReaderLibrary/db/folder_model.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/YACReaderLibrary/db/folder_model.cpp b/YACReaderLibrary/db/folder_model.cpp index 93631075..2cc007c1 100644 --- a/YACReaderLibrary/db/folder_model.cpp +++ b/YACReaderLibrary/db/folder_model.cpp @@ -188,10 +188,10 @@ QVariant FolderModel::data(const QModelIndex &index, int role) const if(role == FolderModel::IdRole) return item->id; - if (role != Qt::DisplayRole) - return QVariant(); + if (role != Qt::DisplayRole) + return QVariant(); - return item->data(index.column()); + return item->data(index.column()); } //! [3]