- hourglass: allow hourglass.png

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2021-10-09 23:53:50 +02:00
committed by Thilo Graf
parent 3c8596a5be
commit 16ff23ed9c

View File

@@ -72,6 +72,10 @@ void CHourGlass::initImageFiles()
std::string filename = "";
hg_img_files.clear();
path = frameBuffer->getIconPath(hg_image_basename, "png");
if (file_exists(path))
hg_img_files.push_back(hg_image_basename);
for(int i = 0; i <= MAX_IMAGES; i++)
{
filename = hg_image_basename;