created directory for dialogs

This commit is contained in:
fourtf
2018-06-26 15:11:45 +02:00
parent f09c7e8b4e
commit 0bc08a364c
50 changed files with 68 additions and 175 deletions
+18
View File
@@ -0,0 +1,18 @@
#pragma once
#include <QCoreApplication>
#include <QThread>
#include <cassert>
namespace chatterino {
namespace util {
static void assertInGuiThread()
{
#ifdef _DEBUG
assert(QCoreApplication::instance()->thread() == QThread::currentThread());
#endif
}
} // namespace util
} // namespace chatterino