wait_tree: Add missing switch case for WaitTreeThread::GetText()

We were missing the enum entry for WaitIPC
master
Lioncash 2018-07-25 15:47:35 +07:00
parent 1e4935c3a0
commit 2474340684
1 changed files with 4 additions and 0 deletions

@ -209,6 +209,9 @@ QString WaitTreeThread::GetText() const {
case ThreadStatus::WaitSleep:
status = tr("sleeping");
break;
case ThreadStatus::WaitIPC:
status = tr("waiting for IPC reply");
break;
case ThreadStatus::WaitSynchAll:
case ThreadStatus::WaitSynchAny:
status = tr("waiting for objects");
@ -240,6 +243,7 @@ QColor WaitTreeThread::GetColor() const {
case ThreadStatus::Ready:
return QColor(Qt::GlobalColor::darkBlue);
case ThreadStatus::WaitHLEEvent:
case ThreadStatus::WaitIPC:
return QColor(Qt::GlobalColor::darkRed);
case ThreadStatus::WaitSleep:
return QColor(Qt::GlobalColor::darkYellow);