Collection: Use normal pointer for watcher

Fixes #1316
This commit is contained in:
Jonas Kvinge
2023-11-29 22:26:40 +01:00
parent f65927e308
commit d96d4224a2
2 changed files with 18 additions and 20 deletions

View File

@@ -29,7 +29,6 @@
#include <QHash>
#include <QString>
#include "core/scoped_ptr.h"
#include "core/shared_ptr.h"
#include "core/song.h"
@@ -91,7 +90,7 @@ class SCollection : public QObject {
SharedPtr<CollectionBackend> backend_;
CollectionModel *model_;
ScopedPtr<CollectionWatcher> watcher_;
CollectionWatcher *watcher_;
Thread *watcher_thread_;
QThread *original_thread_;