Improvements to device manager
- Mount and unmount devices in lister thread - Safely close watcher and backends for devices - Enable abort loading device - Fix MTP connection
This commit is contained in:
@@ -246,6 +246,7 @@ QThread *Application::MoveToNewThread(QObject *object) {
|
||||
void Application::MoveToThread(QObject *object, QThread *thread) {
|
||||
object->setParent(nullptr);
|
||||
object->moveToThread(thread);
|
||||
qLog(Debug) << object << "moved to thread" << thread;
|
||||
}
|
||||
|
||||
void Application::Exit() {
|
||||
|
||||
Reference in New Issue
Block a user