OpenToonz - An open-source full-featured 2D animation creation software
C
Correct class use with TTimer on Linux
Campbell Barton3191db585779
diff --git a/toonz/sources/common/tapptools/ttimer.cpp b/toonz/sources/common/tapptools/ttimer.cppindex 60a398ca8..00bf68e7e 100644--- a/toonz/sources/common/tapptools/ttimer.cpp+++ b/toonz/sources/common/tapptools/ttimer.cpp@@ -1,6 +1,7 @@#include "ttimer.h"+#include "tthreadmessage.h"#include "texception.h"#ifdef _WIN32@@ -178,16 +179,16 @@ public:TGenericTimerAction *m_action;};-class SendCommandMSG : public TThread::Msg+class SendCommandMSG : public TThread::Message{TTimer::Imp *m_ztimp;public:- SendCommandMSG(TTimer::Imp *ztimp) : TThread::Msg(), m_ztimp(ztimp)+ SendCommandMSG(TTimer::Imp *ztimp) : TThread::Message(), m_ztimp(ztimp){}~SendCommandMSG() {}- TThread::Msg *clone() const { return new SendCommandMSG(*this); }+ TThread::Message *clone() const { return new SendCommandMSG(*this); }void onDeliver(){if (m_ztimp->m_action)