Inhibit suspend instead of screen idle

PR #19316.
Closes #19312.
This commit is contained in:
axet 2023-07-18 15:40:17 +03:00 committed by GitHub
parent 4a217dc42f
commit 9194f60ac0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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