Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
beat
beat.editor
Commits
6775b90a
Commit
6775b90a
authored
Nov 27, 2019
by
Samuel GAIST
Committed by
Flavio TARSETTI
Nov 28, 2019
Browse files
[widgets] Move resources initialization in widgets
This allows to make the resources properly available also for testing.
parent
77286a54
Changes
2
Hide whitespace changes
Inline
Side-by-side
beat/editor/scripts/editor_cli.py
View file @
6775b90a
...
...
@@ -55,7 +55,6 @@ from ..backend.asset import AssetType
from
..backend.asset
import
Asset
from
..backend.eventfilters
import
MouseWheelFilter
from
..
import
resources
# noqa Qt resources system, only import is needed
from
..
import
version
global
logger
...
...
beat/editor/widgets/__init__.py
View file @
6775b90a
...
...
@@ -22,3 +22,5 @@
# with the BEAT platform. If not, see http://www.gnu.org/licenses/. #
# #
###############################################################################
from
..
import
resources
# noqa Qt resources system, only import is needed
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment