Library: explicit braces to avoid ambiguous 'else' (hidden in macro)

This commit is contained in:
François Gannaz
2019-04-01 11:00:59 +02:00
parent 62db328ab5
commit 11c99efa30

View File

@ -344,7 +344,9 @@ QMimeData *ReadingListModel::mimeData(const QModelIndexList &indexes) const
} }
if(indexes.length() > 1) if(indexes.length() > 1)
{
QLOG_DEBUG() << "mimeData requested for more than one index, this shouldn't be possible"; QLOG_DEBUG() << "mimeData requested for more than one index, this shouldn't be possible";
}
QModelIndex modelIndex = indexes.at(0); QModelIndex modelIndex = indexes.at(0);