MCPcopy Create free account
hub / github.com/ModOrganizer2/modorganizer / onOpen

Method onOpen

src/modinfodialogfiletree.cpp:188–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188void FileTreeTab::onOpen()
189{
190 auto selection = singleSelection();
191 if (!selection.isValid()) {
192 return;
193 }
194
195 const auto path = m_fs->filePath(selection);
196 core()
197 .processRunner()
198 .setFromFile(parentWidget(), QFileInfo(path))
199 .setHooked(false)
200 .setWaitForCompletion()
201 .run();
202}
203
204void FileTreeTab::onRunHooked()
205{

Callers

nothing calls this directly

Calls 3

processRunnerMethod · 0.80
isValidMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected