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
7e6be6c7
Commit
7e6be6c7
authored
May 02, 2019
by
Samuel GAIST
Browse files
[scripts][editor_cli] Set application version
parent
4aa3f4d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
beat/editor/scripts/editor_cli.py
View file @
7e6be6c7
...
...
@@ -49,6 +49,8 @@ from ..widgets.mainwindow import MainWindow
from
..widgets.assetwidget
import
AssetWidget
from
..backend.assetmodel
import
AssetType
from
..
import
version
global
logger
logger
=
None
...
...
@@ -86,6 +88,7 @@ def editor(ctx, prefix, cache):
QCoreApplication
.
setApplicationName
(
"beat.editor"
)
QCoreApplication
.
setOrganizationName
(
"Idiap"
)
QCoreApplication
.
setOrganizationDomain
(
"ch.idiap"
)
QCoreApplication
.
setApplicationVersion
(
version
.
__version__
)
@
editor
.
command
(
epilog
=
START_EPILOG
)
...
...
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