diff options
| author | Arno <arno@disconnect.de> | 2025-05-09 11:17:55 +0200 | 
|---|---|---|
| committer | Arno <arno@disconnect.de> | 2025-05-09 11:17:55 +0200 | 
| commit | a8d7b22cb88a2d435fdd064fab71c3037c275b8d (patch) | |
| tree | a0b57ba7188c4d098e5977b7e5f911f21e07dc36 | |
| parent | 3fb7be06d142c505f8bff014e9e9224e86cd562e (diff) | |
| download | SheMov-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.cpp | 2 | 
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);  | 
