equal
deleted
inserted
replaced
313 /*! |
313 /*! |
314 Send low power mode on/off request to autolock. |
314 Send low power mode on/off request to autolock. |
315 */ |
315 */ |
316 void SnsrDeviceDialog::requestScreenMode(Screensaver::ScreenPowerMode mode) |
316 void SnsrDeviceDialog::requestScreenMode(Screensaver::ScreenPowerMode mode) |
317 { |
317 { |
|
318 /* TEMPORARY FIX for the "black screen jam" bug. To be re-enabled when proper fix is found. |
318 QVariantMap data; |
319 QVariantMap data; |
319 QVariantList rowLimits; |
320 QVariantList rowLimits; |
320 if ( mode == Screensaver::ScreenModeOff ) { |
321 if ( mode == Screensaver::ScreenModeOff ) { |
321 data.insert(dataKeySwitchLights, 0); |
322 data.insert(dataKeySwitchLights, 0); |
322 data.insert(dataKeySwitchLowPower, rowLimits); // empty list means "low power off" |
323 data.insert(dataKeySwitchLowPower, rowLimits); // empty list means "low power off" |
334 data.insert(dataKeySwitchLights, 30); |
335 data.insert(dataKeySwitchLights, 30); |
335 data.insert(dataKeySwitchLowPower, rowLimits); // empty list means "low power off" |
336 data.insert(dataKeySwitchLowPower, rowLimits); // empty list means "low power off" |
336 } |
337 } |
337 |
338 |
338 emit deviceDialogData(data); |
339 emit deviceDialogData(data); |
|
340 */ |
339 } |
341 } |
340 |
342 |
341 /*! |
343 /*! |
342 Called when the dialog is created if they are any currently |
344 Called when the dialog is created if they are any currently |
343 activate universal indicators present. |
345 activate universal indicators present. |