diff options
Diffstat (limited to 'backend/net/NetWorker.cpp')
-rw-r--r-- | backend/net/NetWorker.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/backend/net/NetWorker.cpp b/backend/net/NetWorker.cpp deleted file mode 100644 index 1eef13d9..00000000 --- a/backend/net/NetWorker.cpp +++ /dev/null @@ -1,12 +0,0 @@ -#include "NetWorker.h" -#include <QThreadStorage> - -NetWorker& NetWorker::spawn() -{ - static QThreadStorage<NetWorker *> storage; - if (!storage.hasLocalData()) - { - storage.setLocalData(new NetWorker()); - } - return *storage.localData(); -} |