aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget.cpp
diff options
context:
space:
mode:
authorAndreas Sinz <andreas.sinz@aon.at>2016-09-05 21:57:57 +0200
committerAndreas Sinz <andreas.sinz@aon.at>2016-09-06 10:47:29 +0200
commit5d968519ba65b6d6b72ce032a680f750b44af765 (patch)
treec62eb74136cc86fa552704a935bd9ead9b5f856f /src-qt5/desktop-utils/lumina-fm/widgets/DirWidget.cpp
parentMerge branch 'master' of github.com:trueos/lumina (diff)
downloadlumina-5d968519ba65b6d6b72ce032a680f750b44af765.tar.gz
lumina-5d968519ba65b6d6b72ce032a680f750b44af765.tar.bz2
lumina-5d968519ba65b6d6b72ce032a680f750b44af765.zip
Added Ctrl+L Shortcut to focus the Line-Dir
Diffstat (limited to 'src-qt5/desktop-utils/lumina-fm/widgets/DirWidget.cpp')
-rw-r--r--src-qt5/desktop-utils/lumina-fm/widgets/DirWidget.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget.cpp b/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget.cpp
index d988bca6..a23c9aec 100644
--- a/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget.cpp
+++ b/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget.cpp
@@ -78,6 +78,11 @@ DirWidget::~DirWidget(){
stopload = true; //just in case another thread is still loading/running
}
+void DirWidget::setFocusLineDir() {
+ line_dir->setFocus();
+ line_dir->selectAll();
+}
+
void DirWidget::cleanup(){
stopload = true; //just in case another thread is still loading/running
if(thumbThread.isRunning()){ thumbThread.waitForFinished(); } //this will stop really quickly with the flag set
bgstack15