mirror of
https://github.com/YACReader/yacreader
synced 2026-04-12 15:49:53 -04:00
Fix all compilation issues after enabling QT_DISABLE_DEPRECATED_UP_TO
This commit is contained in:
@ -236,7 +236,7 @@ bool FolderContentView::canDropUrls(const QList<QUrl> &urls, Qt::DropAction acti
|
||||
{
|
||||
if (action == Qt::CopyAction) {
|
||||
QString currentPath;
|
||||
foreach (QUrl url, urls) {
|
||||
for (const auto &url : urls) {
|
||||
// comics or folders are accepted, folders' content is validate in dropEvent (avoid any lag before droping)
|
||||
currentPath = url.toLocalFile();
|
||||
if (Comic::fileIsComic(currentPath) || QFileInfo(currentPath).isDir())
|
||||
|
||||
Reference in New Issue
Block a user