This commit is contained in:
Kovid Goyal 2022-07-17 22:11:52 +05:30
parent 654d955036
commit c921459226
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -1333,9 +1333,8 @@ class Application(QApplication):
'#FF2400' if is_error else '#50c878') '#FF2400' if is_error else '#50c878')
def load_calibre_style(self): def load_calibre_style(self):
from calibre.utils.resources import get_user_path
icon_map = self.__icon_map_memory_ = {} icon_map = self.__icon_map_memory_ = {}
user_path = get_user_path() user_path = icon_resource_manager.override_icon_path
if user_path: if user_path:
user_path = os.path.join(user_path, 'images') user_path = os.path.join(user_path, 'images')