Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenFlipper-Free
OpenFlipper
Commits
489f50aa
Commit
489f50aa
authored
Jan 23, 2019
by
Jan Möbius
Browse files
OpenFlipper Main file includes for python support
parent
abdf4114
Changes
1
Hide whitespace changes
Inline
Side-by-side
OpenFlipper.cc
View file @
489f50aa
...
...
@@ -66,6 +66,10 @@
#include
<execinfo.h>
#endif
#ifdef PYTHON_ENABLED
#include
<PythonInterpreter/PythonInterpreter.hh>
#endif
#ifdef USE_OPENMP
#endif
...
...
@@ -764,6 +768,9 @@ int main(int argc, char **argv)
// create core ( this also reads the ini files )
Core
*
w
=
new
Core
(
);
#ifdef PYTHON_ENABLED
setCorePointer
(
w
);
#endif
QString
tLang
=
OpenFlipperSettings
().
value
(
"Core/Language/Translation"
,
"en_US"
).
toString
();
...
...
@@ -820,6 +827,11 @@ int main(int argc, char **argv)
// create widget ( this also reads the ini files )
Core
*
w
=
new
Core
(
);
#ifdef PYTHON_ENABLED
setCorePointer
(
w
);
#endif
// After setting all Options from command line, build the real gui
w
->
init
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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