summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2025-05-09 11:17:55 +0200
committerArno <arno@disconnect.de>2025-05-09 11:17:55 +0200
commita8d7b22cb88a2d435fdd064fab71c3037c275b8d (patch)
treea0b57ba7188c4d098e5977b7e5f911f21e07dc36
parent3fb7be06d142c505f8bff014e9e9224e86cd562e (diff)
downloadSheMov-a8d7b22cb88a2d435fdd064fab71c3037c275b8d.tar.gz
SheMov-a8d7b22cb88a2d435fdd064fab71c3037c275b8d.tar.bz2
SheMov-a8d7b22cb88a2d435fdd064fab71c3037c275b8d.zip
Activate keyboard input on RandomTab
Use Signal::activated instead of doubleClicked to play a random file.
-rw-r--r--randomtab.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/randomtab.cpp b/randomtab.cpp
index 5242a2a..03881ea 100644
--- a/randomtab.cpp
+++ b/randomtab.cpp
@@ -154,7 +154,7 @@ void RandomTab::setupGui(){
mFileView->setRootIsDecorated(false);
mFileView->setSelectionMode(QAbstractItemView::ExtendedSelection);
mFileView->setSelectionBehavior(QAbstractItemView::SelectRows);
- connect(mFileView, &RandomFileView::doubleClicked, this, &RandomTab::playDoubleclicked);
+ connect(mFileView, &RandomFileView::activated, this, &RandomTab::playDoubleclicked);
mFileModel = new QStandardItemModel;
mFileProxy = new QSortFilterProxyModel;
mFileProxy->setSourceModel(mFileModel);