Skip to content
This repository was archived by the owner on Sep 27, 2024. It is now read-only.

Commit 7365ef1

Browse files
authored
Merge pull request #278 from cipherboy/sync-fedora-rawhide
Use reference to avoid range-loop-construct diagnostic
2 parents 21d37fd + 51c0b30 commit 7365ef1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MainWindow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ void MainWindow::openFile(const QString& path, bool reload)
409409

410410
// Refill mFSWatch after opening file
411411
mFSWatch->removePaths(mFSWatch->files());
412-
for (const QString path : mScanningSession->getOriginalClosure())
412+
for (const QString &path : mScanningSession->getOriginalClosure())
413413
{
414414
mFSWatch->addPath(path);
415415
}

0 commit comments

Comments
 (0)