diff options
| author | xiphon <xiphon@protonmail.com> | 2019-12-23 11:35:47 +0000 |
|---|---|---|
| committer | xiphon <xiphon@protonmail.com> | 2019-12-23 11:35:47 +0000 |
| commit | 13ea4035b58436500b6249512ff0cbdc87e470c1 (patch) | |
| tree | ccda76d0a310be57b2755ee2390fadfffc3c7866 /src | |
| parent | c6c094bbd5c13c351ca2ef092612cc2def95a804 (diff) | |
| download | monzero-gui-13ea4035b58436500b6249512ff0cbdc87e470c1.tar.gz monzero-gui-13ea4035b58436500b6249512ff0cbdc87e470c1.tar.xz monzero-gui-13ea4035b58436500b6249512ff0cbdc87e470c1.zip | |
FutureScheduler: drop moveToThread, setParent might silently fail
Diffstat (limited to 'src')
| -rw-r--r-- | src/qt/FutureScheduler.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/qt/FutureScheduler.h b/src/qt/FutureScheduler.h index c8eab23a..776fb08c 100644 --- a/src/qt/FutureScheduler.h +++ b/src/qt/FutureScheduler.h @@ -32,12 +32,6 @@ private: QFutureWatcher<T> *newWatcher() { QFutureWatcher<T> *watcher = new QFutureWatcher<T>(); - QThread *schedulerThread = this->thread(); - if (watcher->thread() != schedulerThread) - { - watcher->moveToThread(schedulerThread); - } - watcher->setParent(this); return watcher; } |
