diff options
Diffstat (limited to '.local/share/Anki2/addons21/Background_and_gear/gui/resources')
-rw-r--r-- | .local/share/Anki2/addons21/Background_and_gear/gui/resources/__init__.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.local/share/Anki2/addons21/Background_and_gear/gui/resources/__init__.py b/.local/share/Anki2/addons21/Background_and_gear/gui/resources/__init__.py new file mode 100644 index 0000000..d0c427c --- /dev/null +++ b/.local/share/Anki2/addons21/Background_and_gear/gui/resources/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +# +# Custom background and gear icon Add-on for Anki +# Copyright (C) 2022 +# +# This file was automatically generated by Anki Add-on Builder v1.0.0-dev.2 +# It is subject to the same licensing terms as the rest of the program +# (see the LICENSE file which accompanies this program). +# +# WARNING! All changes made in this file will be lost! + +""" +Initializes generated Qt forms/resources +""" + +from pathlib import Path +from aqt.qt import QDir + +def initialize_qt_resources(): + QDir.addSearchPath("CustomBackground", str(Path(__file__).parent / "CustomBackground")) + +initialize_qt_resources() |