| 540 | } |
| 541 | |
| 542 | void CFrmRecent::slotDoubleClicked(const QModelIndex& index) |
| 543 | { |
| 544 | if(!m_pModel) return; |
| 545 | if(!index.isValid()) return; |
| 546 | auto item = m_pModel->getItem(index); |
| 547 | QString szFile = item.GetFile(); |
| 548 | if(szFile.isEmpty()) return; |
| 549 | emit sigStart(szFile); |
| 550 | if(!m_bDock) close(); |
| 551 | } |
| 552 | |
| 553 | void CFrmRecent::slotAddToFavorite() |
| 554 | { |