Dont use system dependent fallback icons

This commit is contained in:
Kovid Goyal 2022-01-09 12:38:24 +05:30
parent 10776a9bba
commit be860b2464
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -59,7 +59,7 @@ def set_icon_paths():
q = os.path.join(main_dir, subdir)
if os.path.exists(q):
paths.append(q)
QIcon.setFallbackSearchPaths(paths + list(QIcon.fallbackSearchPaths()))
QIcon.setFallbackSearchPaths(paths)
default_theme_path = P('icon-themes', allow_user_override=False)
paths = [default_theme_path]
user_theme_path = P('icon-themes')