Browse Source

Inhibit suspend instead of screen idle

PR #19316.
Closes #19312.
adaptive-webui-19844
axet 1 year ago committed by GitHub
parent
commit
9194f60ac0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/gui/powermanagement/powermanagement_x11.cpp

2
src/gui/powermanagement/powermanagement_x11.cpp

@ -105,7 +105,7 @@ void PowerManagementInhibitor::requestBusy()
args << 0u; args << 0u;
args << u"Active torrents are presented"_s; args << u"Active torrents are presented"_s;
if (m_useGSM) if (m_useGSM)
args << 8u; args << 4u;
call.setArguments(args); call.setArguments(args);
QDBusPendingCall pcall = QDBusConnection::sessionBus().asyncCall(call, 1000); QDBusPendingCall pcall = QDBusConnection::sessionBus().asyncCall(call, 1000);

Loading…
Cancel
Save