mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 13:04:28 -04:00
Library: explicit braces to avoid ambiguous 'else' (hidden in macro)
This commit is contained in:
@ -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);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user