mirror of https://git.suyu.dev/suyu/suyu
Merge pull request #821 from lioncash/wait
wait_tree: Add missing switch case for WaitTreeThread::GetText()
This commit is contained in:
commit
19b5ae5a25
|
@ -209,6 +209,9 @@ QString WaitTreeThread::GetText() const {
|
||||||
case ThreadStatus::WaitSleep:
|
case ThreadStatus::WaitSleep:
|
||||||
status = tr("sleeping");
|
status = tr("sleeping");
|
||||||
break;
|
break;
|
||||||
|
case ThreadStatus::WaitIPC:
|
||||||
|
status = tr("waiting for IPC reply");
|
||||||
|
break;
|
||||||
case ThreadStatus::WaitSynchAll:
|
case ThreadStatus::WaitSynchAll:
|
||||||
case ThreadStatus::WaitSynchAny:
|
case ThreadStatus::WaitSynchAny:
|
||||||
status = tr("waiting for objects");
|
status = tr("waiting for objects");
|
||||||
|
@ -240,6 +243,7 @@ QColor WaitTreeThread::GetColor() const {
|
||||||
case ThreadStatus::Ready:
|
case ThreadStatus::Ready:
|
||||||
return QColor(Qt::GlobalColor::darkBlue);
|
return QColor(Qt::GlobalColor::darkBlue);
|
||||||
case ThreadStatus::WaitHLEEvent:
|
case ThreadStatus::WaitHLEEvent:
|
||||||
|
case ThreadStatus::WaitIPC:
|
||||||
return QColor(Qt::GlobalColor::darkRed);
|
return QColor(Qt::GlobalColor::darkRed);
|
||||||
case ThreadStatus::WaitSleep:
|
case ThreadStatus::WaitSleep:
|
||||||
return QColor(Qt::GlobalColor::darkYellow);
|
return QColor(Qt::GlobalColor::darkYellow);
|
||||||
|
|
Loading…
Reference in New Issue