diff options
Diffstat (limited to 'src/protocols/OutputManagement.cpp')
| -rw-r--r-- | src/protocols/OutputManagement.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/protocols/OutputManagement.cpp b/src/protocols/OutputManagement.cpp index 9ebcba07..e7779726 100644 --- a/src/protocols/OutputManagement.cpp +++ b/src/protocols/OutputManagement.cpp @@ -166,7 +166,7 @@ void COutputHead::sendAllData() { LOGM(LOG, " | sending current mode for {}: {}x{}@{}", pMonitor->szName, m->mode->width, m->mode->height, m->mode->refresh); else LOGM(LOG, " | sending current mode for {}: null (fake)", pMonitor->szName); - resource->sendCurrentMode(m->resource->resource()); + resource->sendCurrentMode(m->resource.get()); break; } } @@ -197,7 +197,7 @@ void COutputHead::updateMode() { LOGM(LOG, " | sending current mode for {}: {}x{}@{}", pMonitor->szName, m->mode->width, m->mode->height, m->mode->refresh); else LOGM(LOG, " | sending current mode for {}: null (fake)", pMonitor->szName); - resource->sendCurrentMode(m->resource->resource()); + resource->sendCurrentMode(m->resource.get()); break; } } |
