added template model/view magic for commands

This commit is contained in:
fourtf
2018-04-29 23:25:49 +02:00
parent e31dc09e91
commit 6bd787423d
14 changed files with 326 additions and 165 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
namespace chatterino {
namespace util {
void assertInGuiThread()
static void assertInGuiThread()
{
#ifdef _DEBUG
assert(QCoreApplication::instance()->thread() == QThread::currentThread());