diff options
-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); |