示例#1
0
文件: MainUI.cpp 项目: yamajun/lumina
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()) ); }
}
示例#2
0
文件: MainUI.cpp 项目: yamajun/lumina
void MainUI::on_actionSearch_triggered(){
  DirWidget *dir = FindActiveBrowser();
  if(dir==0){ return; }
  QProcess::startDetached("lumina-search -dir \""+dir->currentDir()+"\"");
}