| 353 | } |
| 354 | |
| 355 | void FileWatcher::configureWatchPolling() |
| 356 | { |
| 357 | if( mConnectToAppUpdateEnabled && ! mConnectionAppUpdate.isConnected() && app::AppBase::get() ) |
| 358 | connectAppUpdate(); |
| 359 | |
| 360 | if( ! mThread.joinable() ) { |
| 361 | mThreadShouldQuit = false; |
| 362 | mThread = thread( std::bind( &FileWatcher::threadEntry, this ) ); |
| 363 | } |
| 364 | } |
| 365 | |
| 366 | void FileWatcher::stopWatchPolling() |
| 367 | { |
nothing calls this directly
no test coverage detected