mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
Fix coding style
This commit is contained in:
committed by
sledgehammer999
parent
976e2450ec
commit
c99ac99a99
@@ -210,7 +210,7 @@ bool Utils::Fs::sameFiles(const QString &path1, const QString &path2)
|
||||
if (!f2.open(QIODevice::ReadOnly)) return false;
|
||||
|
||||
const int readSize = 1024 * 1024; // 1 MiB
|
||||
while(!f1.atEnd() && !f2.atEnd()) {
|
||||
while (!f1.atEnd() && !f2.atEnd()) {
|
||||
if (f1.read(readSize) != f2.read(readSize))
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user