From a88ebd742a17f3f0e45de06aa77ff52cabc437b0 Mon Sep 17 00:00:00 2001 From: JT Pennington Date: Mon, 2 Jan 2017 13:53:01 -0500 Subject: add two quick shortcuts add shortcut for bookmark manager and to refresh external devices --- src-qt5/desktop-utils/lumina-fm/MainUI.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src-qt5/desktop-utils/lumina-fm') diff --git a/src-qt5/desktop-utils/lumina-fm/MainUI.cpp b/src-qt5/desktop-utils/lumina-fm/MainUI.cpp index c302c869..905fc9e1 100644 --- a/src-qt5/desktop-utils/lumina-fm/MainUI.cpp +++ b/src-qt5/desktop-utils/lumina-fm/MainUI.cpp @@ -219,6 +219,7 @@ void MainUI::setupIcons(){ // Bookmarks menu ui->actionManage_Bookmarks->setIcon( LXDG::findIcon("bookmarks-organize","") ); + ui->actionManage_Bookmarks->setShortcut(tr("CTRL+B")); ui->actionAdd_Bookmark->setIcon( LXDG::findIcon("bookmark-new","") ); //GIT menu @@ -226,7 +227,8 @@ void MainUI::setupIcons(){ ui->actionClone_Repository->setIcon( LXDG::findIcon("git","download") ); // External Devices menu - ui->actionScan->setIcon( LXDG::findIcon("system-search","") ); + ui->actionScan->setIcon( LXDG::findIcon("system-search","") ) + ui->actionScan->setShortcut(tr("CTRL+E")); } //========== -- cgit From 7e055f2ba573e996f8cecc0c7f9e30051962eef7 Mon Sep 17 00:00:00 2001 From: JT Pennington Date: Mon, 2 Jan 2017 11:04:38 -0800 Subject: fix missing ; --- src-qt5/desktop-utils/lumina-fm/MainUI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src-qt5/desktop-utils/lumina-fm') diff --git a/src-qt5/desktop-utils/lumina-fm/MainUI.cpp b/src-qt5/desktop-utils/lumina-fm/MainUI.cpp index 905fc9e1..f2411754 100644 --- a/src-qt5/desktop-utils/lumina-fm/MainUI.cpp +++ b/src-qt5/desktop-utils/lumina-fm/MainUI.cpp @@ -227,7 +227,7 @@ void MainUI::setupIcons(){ ui->actionClone_Repository->setIcon( LXDG::findIcon("git","download") ); // External Devices menu - ui->actionScan->setIcon( LXDG::findIcon("system-search","") ) + ui->actionScan->setIcon( LXDG::findIcon("system-search","") ); ui->actionScan->setShortcut(tr("CTRL+E")); } -- cgit