mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -07:00
Fix coding style
This commit is contained in:
parent
6d4434ad66
commit
eb508d67ef
31 changed files with 162 additions and 165 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue