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]