mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 13:05:51 +03:00
Merge pull request #5731 from nextcloud/bugfox/setHiddenFileForFileMonitoringTest
ensure that the file to test monitoring is hidden
This commit is contained in:
commit
fecaaa5611
1 changed files with 1 additions and 0 deletions
|
@ -133,6 +133,7 @@ void FolderWatcher::startNotificationTestWhenReady()
|
||||||
QFile f(path);
|
QFile f(path);
|
||||||
f.open(QIODevice::WriteOnly | QIODevice::Append);
|
f.open(QIODevice::WriteOnly | QIODevice::Append);
|
||||||
}
|
}
|
||||||
|
FileSystem::setFileHidden(path, true);
|
||||||
|
|
||||||
QTimer::singleShot(5000, this, [this]() {
|
QTimer::singleShot(5000, this, [this]() {
|
||||||
if (!_testNotificationPath.isEmpty())
|
if (!_testNotificationPath.isEmpty())
|
||||||
|
|
Loading…
Reference in a new issue