diff options
author | Ken Moore <moorekou@gmail.com> | 2016-05-20 12:12:39 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2016-05-20 12:12:39 -0400 |
commit | 1c5fe8db4ac7412bebfb3410262c0a244a92be49 (patch) | |
tree | 435eb646f7775614b38065e8aa409eb1c882f646 /src-qt5/core/lumina-desktop/panel-plugins/systemstart/StartMenu.cpp | |
parent | Merge pull request #225 from HenryHu/master (diff) | |
download | lumina-1c5fe8db4ac7412bebfb3410262c0a244a92be49.tar.gz lumina-1c5fe8db4ac7412bebfb3410262c0a244a92be49.tar.bz2 lumina-1c5fe8db4ac7412bebfb3410262c0a244a92be49.zip |
Have the lock button in the start menu use the "LaunchItem()" functio so the menu is closed right away.
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 1d22632a..019f0d12 100644 --- a/src-qt5/core/lumina-desktop/panel-plugins/systemstart/StartMenu.cpp +++ b/src-qt5/core/lumina-desktop/panel-plugins/systemstart/StartMenu.cpp @@ -490,7 +490,8 @@ void StartMenu::on_tool_launch_deskinfo_clicked(){ //Logout Buttons void StartMenu::on_tool_lock_clicked(){ - QProcess::startDetached("xscreensaver-command -lock"); + //QProcess::startDetached("xscreensaver-command -lock"); + LaunchItem("xscreensaver-command -lock",false); } void StartMenu::on_tool_logout_clicked(){ |