mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-07 20:22:27 +02:00
Enable the event-queue hack on Linux in addition to Windows
This commit is contained in:
parent
dbc2a67758
commit
4de720a456
2 changed files with 3 additions and 3 deletions
|
@ -75,7 +75,7 @@ public:
|
|||
void each(std::function<void(AvatarMixerSlave& slave)> functor);
|
||||
|
||||
#ifdef DEBUG_EVENT_QUEUE
|
||||
void AvatarMixerSlavePool::queueStats(QJsonObject& stats);
|
||||
void queueStats(QJsonObject& stats);
|
||||
#endif
|
||||
|
||||
void setNumThreads(int numThreads);
|
||||
|
|
|
@ -12,10 +12,10 @@
|
|||
|
||||
#include <QtCore/QObject>
|
||||
|
||||
#ifdef WIN32
|
||||
#if defined(Q_OS_WIN) || defined(Q_OS_LINUX)
|
||||
// Enable event queue debugging
|
||||
#define DEBUG_EVENT_QUEUE
|
||||
#endif // WIN32
|
||||
#endif
|
||||
|
||||
namespace hifi { namespace qt {
|
||||
void addBlockingForbiddenThread(const QString& name, QThread* thread = nullptr);
|
||||
|
|
Loading…
Reference in a new issue