From fbbb25e1bc4160f4aa52d32d942c83cb6c50b1c8 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sat, 9 Oct 2021 23:53:50 +0200 Subject: [PATCH] hourglass: allow hourglass.png Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/ca16db0604184f68b15955d451f974ca3bf2fd29 Author: vanhofen Date: 2021-10-09 (Sat, 09 Oct 2021) Origin message was: ------------------ - hourglass: allow hourglass.png ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/widget/hourglass.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gui/widget/hourglass.cpp b/src/gui/widget/hourglass.cpp index f17d9c637..4878a00b1 100644 --- a/src/gui/widget/hourglass.cpp +++ b/src/gui/widget/hourglass.cpp @@ -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;