Remove redundant namespace prefix

This commit is contained in:
Chocobo1
2020-09-25 14:37:00 +08:00
parent 1a3091a980
commit ac3ab2432a
6 changed files with 36 additions and 36 deletions

View File

@@ -382,7 +382,7 @@ void TorrentInfo::renameFile(const int index, const QString &newPath)
nativeInfo()->rename_file(lt::file_index_t {index}, Utils::Fs::toNativePath(newPath).toStdString());
}
int BitTorrent::TorrentInfo::fileIndex(const QString &fileName) const
int TorrentInfo::fileIndex(const QString &fileName) const
{
// the check whether the object is valid is not needed here
// because if filesCount() returns -1 the loop exits immediately