Fixed icon loading (failed after new dir structure)

In same step improved paths in project (static const)
This commit is contained in:
Klaus Basan
2015-10-15 03:52:18 +02:00
committed by Mathew Sutcliffe
parent 3a0ab1aff7
commit 6466260d8c
5 changed files with 51 additions and 14 deletions

View File

@@ -76,7 +76,8 @@ namespace BlackMisc
{
if (this->m_designator.length() > 2)
{
return CIcon("images/airlines/" + m_designator.toLower() + ".png",
// relative to images
return CIcon("airlines/" + m_designator.toLower() + ".png",
this->convertToQString());
}
else