Search ipa image dir befor top dir

Else the unknown icon is found before the proper icon.

This unbreaks IPA panel top icons
This commit is contained in:
Juergen Spitzmueller 2020-12-10 07:08:04 +01:00
parent d9c39232ac
commit f9b817676a

View File

@ -527,7 +527,7 @@ pair<QString,bool> 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)