MCPcopy Create free account
hub / github.com/RGAA-Software/GoDesk / UpdateLocalCursor

Method UpdateLocalCursor

src/client/ct_base_workspace.cpp:857–871  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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) {

Callers 1

Calls 1

PostUITaskMethod · 0.45

Tested by

no test coverage detected