diff options
author | Ken Moore <ken@ixsystems.com> | 2017-03-02 12:50:23 -0500 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-03-02 12:50:23 -0500 |
commit | c6582b1f4683e11da298248a193304dcd91b2797 (patch) | |
tree | 4c3e55340ad9c117e14f01f68f98b547982afef8 /src-qt5/core/lumina-desktop-unified/src-screensaver/LScreenSaver.cpp | |
parent | Merge branch 'master' of github.com:trueos/lumina (diff) | |
download | lumina-c6582b1f4683e11da298248a193304dcd91b2797.tar.gz lumina-c6582b1f4683e11da298248a193304dcd91b2797.tar.bz2 lumina-c6582b1f4683e11da298248a193304dcd91b2797.zip |
Update the new screensaver framework a bit, and add a replacement for the default "sample" screensaver: a "Fireflies" screensaver.
Diffstat (limited to 'src-qt5/core/lumina-desktop-unified/src-screensaver/LScreenSaver.cpp')
-rw-r--r-- | src-qt5/core/lumina-desktop-unified/src-screensaver/LScreenSaver.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src-qt5/core/lumina-desktop-unified/src-screensaver/LScreenSaver.cpp b/src-qt5/core/lumina-desktop-unified/src-screensaver/LScreenSaver.cpp index 0c92784e..3dcbf85e 100644 --- a/src-qt5/core/lumina-desktop-unified/src-screensaver/LScreenSaver.cpp +++ b/src-qt5/core/lumina-desktop-unified/src-screensaver/LScreenSaver.cpp @@ -92,6 +92,7 @@ void LScreenSaver::LockScreenNow(){ // =========== void LScreenSaver::ShowScreenSaver(){ if(DEBUG){ qDebug() << "Showing Screen Saver:" << QDateTime::currentDateTime().toString(); } + //QApplication::setOverrideCursor(QCursor::BlankCursor); SSRunning = true; updating = true; //Now remove any current Base widgets (prevent any lingering painting between sessions) @@ -141,6 +142,7 @@ void LScreenSaver::ShowLockScreen(){ } void LScreenSaver::HideScreenSaver(){ + //QApplication::restoreOverrideCursor(); if(DEBUG){ qDebug() << "Hiding Screen Saver:" << QDateTime::currentDateTime().toString(); } SSRunning = false; if(cBright>0){ LOS::setScreenBrightness(cBright); } //return to current brightness |