mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-25 10:46:15 +03:00
Little fix
This commit is contained in:
parent
5494c33a89
commit
ade0ba794c
1 changed files with 1 additions and 1 deletions
|
@ -1487,7 +1487,7 @@ void Bittorrent::addConsoleMessage(QString msg, QString) {
|
|||
}
|
||||
const unsigned int nbFiles = h.num_files();
|
||||
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))
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue