Re: [SailfishDevel] req_display_blanking_pause seems not to work.

2015-09-27 Thread Andrew Penkrat
Hi Simo, Thanks a lot for your suggestion, QTimer with 50 seconds timeout calling req_display_blanking_pause on timeout works fine. Best regards, Andrew Penkrat 2015-09-24 23:05 GMT+03:00 Simo Piiroinen : > On Thursday, September 24, 2015 05:44:48 PM Andrew

Re: [SailfishDevel] req_display_blanking_pause seems not to work.

2015-09-25 Thread Simo Piiroinen
On Thursday, September 24, 2015 05:44:48 PM Andrew Penkrat wrote: > But screen keeps going blank after I call > cpptools.setBlankingMode(false) from QML (tested on Sailfish OS > 1.1.9.28). What can be the problem? Hi, The most obvious one is: You need to periodically repeat the

[SailfishDevel] req_display_blanking_pause seems not to work.

2015-09-24 Thread Andrew Penkrat
Hello, I experience an issue with req_display_blanking_pause dbus call. I have `QT += dbus` line in the .pro file and my code is the following: In tools.h: Q_INVOKABLE void setBlankingMode(bool state); tools.cpp: #include "tools.h" #include #include #include // true - screen blanks