We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8625aa commit 42420eaCopy full SHA for 42420ea
src/wayland/idle_inhibit/inhibitor.cpp
@@ -13,7 +13,7 @@ namespace qs::wayland::idle_inhibit {
13
using QtWaylandClient::QWaylandWindow;
14
15
IdleInhibitor::IdleInhibitor() {
16
- this->bBoundWindow.setBinding([this] { return this->bEnabled ? this->bWindowObject : nullptr; });
+ this->bBoundWindow.setBinding([this] { return this->bEnabled ? this->bWindowObject.value() : nullptr; });
17
}
18
19
QObject* IdleInhibitor::window() const { return this->bWindowObject; }
0 commit comments