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

Method getGameName

src/downloadmanager.cpp:1410–1416  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1408}
1409
1410QString DownloadManager::getGameName(int index) const
1411{
1412 if ((index < 0) || (index >= m_ActiveDownloads.size())) {
1413 throw MyException(tr("mod id: invalid download index %1").arg(index));
1414 }
1415 return m_ActiveDownloads.at(index)->m_FileInfo->gameName;
1416}
1417
1418bool DownloadManager::isHidden(int index) const
1419{

Callers 1

installDownloadMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected