From 11c99efa30209b2fc0132a0fe0007d01138e73b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Gannaz?= Date: Mon, 1 Apr 2019 11:00:59 +0200 Subject: [PATCH] Library: explicit braces to avoid ambiguous 'else' (hidden in macro) --- YACReaderLibrary/db/reading_list_model.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/YACReaderLibrary/db/reading_list_model.cpp b/YACReaderLibrary/db/reading_list_model.cpp index aeecd201..c943787e 100644 --- a/YACReaderLibrary/db/reading_list_model.cpp +++ b/YACReaderLibrary/db/reading_list_model.cpp @@ -344,7 +344,9 @@ QMimeData *ReadingListModel::mimeData(const QModelIndexList &indexes) const } if(indexes.length() > 1) + { QLOG_DEBUG() << "mimeData requested for more than one index, this shouldn't be possible"; + } QModelIndex modelIndex = indexes.at(0);