mirror of
https://github.com/YACReader/yacreader
synced 2025-07-19 05:24:57 -04:00
fixed compilation warnings in YACReaderLibrary.pro, at least using vc++ compiler
This commit is contained in:
@ -42,6 +42,11 @@ int ComicModel::columnCount(const QModelIndex &parent) const
|
||||
|
||||
bool ComicModel::canDropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) const
|
||||
{
|
||||
Q_UNUSED(action);
|
||||
Q_UNUSED(row);
|
||||
Q_UNUSED(column);
|
||||
Q_UNUSED(parent);
|
||||
|
||||
if(!enableResorting)
|
||||
return false;
|
||||
return data->formats().contains(YACReader::YACReaderLibrarComiscSelectionMimeDataFormat);
|
||||
|
Reference in New Issue
Block a user