MCPcopy Create free account
hub / github.com/KangLin/RabbitRemoteControl / slotDoubleClicked

Method slotDoubleClicked

App/Client/Recent/FrmRecent.cpp:542–551  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

540}
541
542void 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
553void CFrmRecent::slotAddToFavorite()
554{

Callers

nothing calls this directly

Calls 4

isValidMethod · 0.80
getItemMethod · 0.45
GetFileMethod · 0.45
isEmptyMethod · 0.45

Tested by

no test coverage detected