mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 07:27:22 -06:00
Little fix
This commit is contained in:
@@ -1487,7 +1487,7 @@ void Bittorrent::addConsoleMessage(QString msg, QString) {
|
|||||||
}
|
}
|
||||||
const unsigned int nbFiles = h.num_files();
|
const unsigned int nbFiles = h.num_files();
|
||||||
for(unsigned int i=0; i<nbFiles; ++i) {
|
for(unsigned int i=0; i<nbFiles; ++i) {
|
||||||
const QString &extension = h.file_at(i).split('.').last();
|
QString extension = h.file_at(i).split('.').last();
|
||||||
if(misc::isPreviewable(extension))
|
if(misc::isPreviewable(extension))
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user