Revert "disabled updates as a test"

This reverts commit f8c4ac8c17.
This commit is contained in:
fourtf
2019-10-03 22:18:03 +02:00
parent 245001c2f0
commit c46a65d173
5 changed files with 0 additions and 76 deletions
-21
View File
@@ -1,21 +0,0 @@
#pragma once
#include <QCoreApplication>
#include <QThread>
#include <cassert>
namespace AB_NAMESPACE {
static bool isGuiThread()
{
return QCoreApplication::instance()->thread() == QThread::currentThread();
}
static void assertInGuiThread()
{
#ifdef _DEBUG
assert(isGuiThread());
#endif
}
} // namespace AB_NAMESPACE