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

Method getFilePath

src/downloadmanager.cpp:1268–1275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1266}
1267
1268QString DownloadManager::getFilePath(int index) const
1269{
1270 if ((index < 0) || (index >= m_ActiveDownloads.size())) {
1271 throw MyException(tr("get path: invalid download index %1").arg(index));
1272 }
1273
1274 return m_OutputDirectory + "/" + m_ActiveDownloads.at(index)->m_FileName;
1275}
1276
1277QString DownloadManager::getFileTypeString(int fileType)
1278{

Callers 2

issueDeleteMethod · 0.80
installDownloadMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected