Skip to content

Commit

Permalink
降低触发上传的门槛
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander-Porter committed Jul 16, 2024
1 parent 03c534d commit 86ab987
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SyncThread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ void SyncThread::run()
{
qDebug() << "Different file";
QFile file(path);
//是否可写
if (!file.open(QIODevice::ReadWrite))
//是否可读
if (!file.open(QIODevice::ReadOnly))
{
break;
}
Expand Down

0 comments on commit 86ab987

Please sign in to comment.