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

Method slotTreeRemoteRefresh

Plugins/FileTransfer/FrmFileTransfer.cpp:534–544  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

532}
533
534void CFrmFileTransfer::slotTreeRemoteRefresh()
535{
536 auto idx = ui->treeRemote->currentIndex();
537 if(idx.isValid()) {
538 auto p = m_pModelRemoteDir->GetRemoteFileSystemFromIndex(idx);
539 if(p && !p->GetPath().isEmpty()) {
540 p->SetState(CRemoteFileSystem::State::No);
541 m_pModelRemoteDir->fetchMore(idx);
542 }
543 }
544}
545
546void CFrmFileTransfer::slotTreeRemoteRename()
547{

Callers

nothing calls this directly

Calls 6

isValidMethod · 0.80
GetPathMethod · 0.80
SetStateMethod · 0.80
isEmptyMethod · 0.45
fetchMoreMethod · 0.45

Tested by

no test coverage detected