From f9b817676aff4751e072e02a8b304c2d64a20ef2 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Thu, 10 Dec 2020 07:08:04 +0100 Subject: [PATCH] Search ipa image dir befor top dir Else the unknown icon is found before the proper icon. This unbreaks IPA panel top icons --- src/frontends/qt/GuiApplication.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontends/qt/GuiApplication.cpp b/src/frontends/qt/GuiApplication.cpp index 8ab89b89ef..9ff6d2cda2 100644 --- a/src/frontends/qt/GuiApplication.cpp +++ b/src/frontends/qt/GuiApplication.cpp @@ -527,7 +527,7 @@ pair iconName(FuncRequest const & f, bool unknown, bool rtl) search_mode const mode = theGuiApp()->imageSearchMode(); // The folders where icons are searched for QStringList imagedirs; - imagedirs << "images/" << "images/ipa/"; + imagedirs << "images/ipa/" << "images/"; // This is used to search for rtl version of icons which have the +rrtl suffix. QStringList suffixes; if (rtl) -- 2.39.5