aboutsummaryrefslogtreecommitdiff
path: root/lumina-fm/MainUI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lumina-fm/MainUI.cpp')
-rw-r--r--lumina-fm/MainUI.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lumina-fm/MainUI.cpp b/lumina-fm/MainUI.cpp
index 7f1e5fcc..dc35efa0 100644
--- a/lumina-fm/MainUI.cpp
+++ b/lumina-fm/MainUI.cpp
@@ -679,6 +679,10 @@ void MainUI::on_actionNew_Tab_triggered(){
tabBar->setCurrentIndex(tabBar->count()-1);
}
+void MainUI::on_actionSearch_triggered(){
+ QProcess::startDetached("lumina-search -dir \""+getCurrentDir()+"\"");
+}
+
void MainUI::on_actionClose_triggered(){
if(tabBar->count() > 1){
if(QMessageBox::Yes != QMessageBox::question(this, tr("Verify Quit"), tr("You have multiple tabs open. Are you sure you want to quit?"), QMessageBox::Yes | QMessageBox::No, QMessageBox::Yes ) ){
bgstack15