mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
14 lines
582 B
Diff
14 lines
582 B
Diff
|
diff --git a/qimgv/components/directorymanager/watchers/linux/linuxworker.cpp b/qimgv/components/directorymanager/watchers/linux/linuxworker.cpp
|
||
|
index 96ec9d3..6d95d08 100644
|
||
|
--- a/qimgv/components/directorymanager/watchers/linux/linuxworker.cpp
|
||
|
+++ b/qimgv/components/directorymanager/watchers/linux/linuxworker.cpp
|
||
|
@@ -21,7 +21,7 @@ void LinuxWorker::setDescriptor(int desc) {
|
||
|
|
||
|
void LinuxWorker::run() {
|
||
|
emit started();
|
||
|
- isRunning.storeRelaxed(true);
|
||
|
+ isRunning.store(true);
|
||
|
|
||
|
if (fd == -1) {
|
||
|
qDebug() << TAG << "File descriptor isn't set! Stopping";
|