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
8f29a8fc
Commit
8f29a8fc
authored
Jul 29, 2020
by
Jean-Baptiste Mardelle
Browse files
Drop deprecated QApplication attribute
parent
91176f62
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main.cpp
View file @
8f29a8fc
...
...
@@ -79,9 +79,8 @@ int main(int argc, char *argv[])
//TODO: is it a good option ?
QCoreApplication
::
setAttribute
(
Qt
::
AA_ShareOpenGLContexts
,
true
);
#if defined(Q_OS_UNIX) && !defined(Q_OS_MAC)
QCoreApplication
::
setAttribute
(
Qt
::
AA_X11InitThreads
);
#elif defined(Q_OS_WIN)
#if defined(Q_OS_WIN)
KSharedConfigPtr
configWin
=
KSharedConfig
::
openConfig
(
"kdenliverc"
);
KConfigGroup
grp1
(
configWin
,
"misc"
);
if
(
grp1
.
exists
())
{
...
...
Write
Preview
Markdown
is supported
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