[Bug 259313] Dragon player does not prevent screen saver from kicking in
Harald Sitter
sitter at kde.org
Sat Jun 2 20:13:47 BST 2012
https://bugs.kde.org/show_bug.cgi?id=259313
Harald Sitter <sitter at kde.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |sitter at kde.org
Resolution|--- |FIXED
--- Comment #7 from Harald Sitter <sitter at kde.org> ---
if (m_stopSleepCookie == -1)
m_stopSleepCookie =
Solid::PowerManagement::beginSuppressingSleep(QLatin1String( "watching a film"
));
if (m_stopScreenPowerMgmtCookie == -1)
m_stopScreenPowerMgmtCookie =
Solid::PowerManagement::beginSuppressingScreenPowerManagement(QLatin1String(
"watching a film" ));
if (!m_stopScreenSaver)
m_stopScreenSaver = new
KNotificationRestrictions(KNotificationRestrictions::ScreenSaver);
I if it not working then that'd be a bug in Solid or KNotificationRestrictions
respectively.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list