void MainUI::on_actionDelete_Selection_triggered(){ DirWidget *dir = FindActiveBrowser(); if(DEBUG){ qDebug() << "Delete Shortcut Pressed:" << dir << dir->currentDir(); } if(dir!=0){ QTimer::singleShot(0, dir, SLOT(TryDeleteSelection()) ); } }
void MainUI::on_actionSearch_triggered(){ DirWidget *dir = FindActiveBrowser(); if(dir==0){ return; } QProcess::startDetached("lumina-search -dir \""+dir->currentDir()+"\""); }