mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 12:55:33 +08:00
Ref T315, owner is normal pointer, disucssion:
- https://swift-project.slack.com/archives/GCKMFLG30/p1536331871000100 - and in comments of T315
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
#include <QCoreApplication>
|
||||
|
||||
#ifdef Q_OS_WIN32
|
||||
#include <windows.h>
|
||||
#include <Windows.h>
|
||||
#endif
|
||||
|
||||
namespace BlackMisc
|
||||
|
||||
@@ -334,7 +334,7 @@ namespace BlackMisc
|
||||
using CWorkerBase::setStarted;
|
||||
using CWorkerBase::setFinished;
|
||||
|
||||
QPointer<QObject> m_owner; //!< owner, QPointer will detect if the owner is deleted
|
||||
QObject *m_owner; //!< owner, QPointer will detect if the owner is deleted
|
||||
QString m_name; //!< worker's name
|
||||
std::atomic<bool> m_enabled { true }; //!< marker it is enabled
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user