| 855 | } |
| 856 | |
| 857 | void BaseWorkspace::UpdateLocalCursor() { |
| 858 | context_->PostUITask([=, this]() { |
| 859 | if (GameView::s_mouse_in_) { |
| 860 | if (QApplication::overrideCursor()) { |
| 861 | QApplication::changeOverrideCursor(cursor_); |
| 862 | } |
| 863 | else { |
| 864 | QApplication::setOverrideCursor(cursor_); |
| 865 | } |
| 866 | } |
| 867 | else { |
| 868 | QApplication::restoreOverrideCursor(); |
| 869 | } |
| 870 | }); |
| 871 | } |
| 872 | |
| 873 | void BaseWorkspace::RegisterControllerPanelListeners() { |
| 874 | msg_listener_->Listen<MsgClientOpenFiletrans>([=, this](const MsgClientOpenFiletrans& msg) { |
no test coverage detected