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
Multimedia
Kdenlive
Commits
882576af
Commit
882576af
authored
Oct 25, 2019
by
Jean-Baptiste Mardelle
Browse files
Move some QApp init stuff to correct place
parent
963b78e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main.cpp
View file @
882576af
...
...
@@ -62,10 +62,9 @@ int main(int argc, char *argv[])
qSetGlobalQHashSeed
(
0
);
Logger
::
init
();
QApplication
app
(
argc
,
argv
);
QCoreApplication
::
setAttribute
(
Qt
::
AA_UseHighDpiPixmaps
);
QCoreApplication
::
setAttribute
(
Qt
::
AA_ShareOpenGLContexts
,
true
);
QApplication
app
(
argc
,
argv
);
KSharedConfigPtr
config
=
KSharedConfig
::
openConfig
();
#if defined(Q_OS_UNIX) && !defined(Q_OS_MAC)
QCoreApplication
::
setAttribute
(
Qt
::
AA_X11InitThreads
);
...
...
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