diff options
author | Ken Moore <moorekou@gmail.com> | 2020-05-04 09:59:13 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2020-05-04 10:00:26 -0400 |
commit | f747ac87e16ae16343bcc6c40327eca92cffca07 (patch) | |
tree | 9ab2dd1b66f091780960f645f9f786ea496bd406 /src-qt5/core/lumina-desktop/panel-plugins/systemstart/StartMenu.cpp | |
parent | Merge pull request #725 from JohnBlood/patch-1 (diff) | |
download | lumina-f747ac87e16ae16343bcc6c40327eca92cffca07.tar.gz lumina-f747ac87e16ae16343bcc6c40327eca92cffca07.tar.bz2 lumina-f747ac87e16ae16343bcc6c40327eca92cffca07.zip |
Get the screensaver system up and running.
The lockscreen prompt is disabled at the moment while testing some input detection mechanisms (unlock button just always works without verifying password)
Diffstat (limited to 'src-qt5/core/lumina-desktop/panel-plugins/systemstart/StartMenu.cpp')
-rw-r--r-- | src-qt5/core/lumina-desktop/panel-plugins/systemstart/StartMenu.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src-qt5/core/lumina-desktop/panel-plugins/systemstart/StartMenu.cpp b/src-qt5/core/lumina-desktop/panel-plugins/systemstart/StartMenu.cpp index 57c17d47..38f5246f 100644 --- a/src-qt5/core/lumina-desktop/panel-plugins/systemstart/StartMenu.cpp +++ b/src-qt5/core/lumina-desktop/panel-plugins/systemstart/StartMenu.cpp @@ -578,7 +578,8 @@ void StartMenu::on_tool_launch_deskinfo_clicked(){ //Logout Buttons void StartMenu::on_tool_lock_clicked(){ //QProcess::startDetached("xscreensaver-command -lock"); - LaunchItem("xscreensaver-command -lock",false); + QTimer::singleShot(30,LSession::handle(), SLOT(LockScreen()) ); + //LaunchItem("xscreensaver-command -lock",false); } void StartMenu::on_tool_logout_clicked(){ |