Use QFileInfo::exists where we are only creating a QFileInfo to check if file exists...
authorClaudio Cambra <claudio.cambra@nextcloud.com>
Mon, 19 Dec 2022 16:46:27 +0000 (17:46 +0100)
committerMatthieu Gallien <matthieu_gallien@yahoo.fr>
Tue, 20 Dec 2022 08:44:13 +0000 (09:44 +0100)
commitf6c4c32b6e25948c8782ca08f27d6285ca1ee796
tree3df1bf647336f15e542931cf0cf601d8726bd74c
parent7f6b18b232bfaded1914732cbbdd0e3c42e2109f
Use QFileInfo::exists where we are only creating a QFileInfo to check if file exists, as it is faster

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
src/gui/tray/usermodel.cpp
src/libsync/syncengine.cpp