NOISSUE remove use of obsolete URL constants, simplify the rest

This commit is contained in:
Petr Mrázek
2018-11-04 13:18:35 +01:00
parent 16cc20aefd
commit 58260da861
8 changed files with 13 additions and 18 deletions

View File

@ -192,7 +192,7 @@ QList< std::shared_ptr< NetAction > > Library::getDownloads(OpSys system, class
if (m_repositoryURL.isEmpty())
{
return QString("https://" + URLConstants::LIBRARY_BASE) + raw_storage;
return URLConstants::LIBRARY_BASE + raw_storage;
}
if(m_repositoryURL.endsWith('/'))