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
185e9b9d
Commit
185e9b9d
authored
Mar 31, 2022
by
Jean-Baptiste Mardelle
Browse files
Ensure we use the breeze widget style on first run in Mac
parent
4b60515b
Pipeline
#157966
passed with stage
in 7 minutes and 48 seconds
Changes
1
Pipelines
2
Show whitespace changes
Inline
Side-by-side
src/mainwindow.cpp
View file @
185e9b9d
...
...
@@ -178,7 +178,7 @@ void MainWindow::init(const QString &mltPath)
QStringList
availableStyles
=
QStyleFactory
::
keys
();
if
(
KdenliveSettings
::
widgetstyle
().
isEmpty
())
{
// First run
QStringList
incompatibleStyles
=
{
QStringLiteral
(
"GTK+"
),
QStringLiteral
(
"windowsvista"
),
QStringLiteral
(
"Windows"
)};
QStringList
incompatibleStyles
=
{
QStringLiteral
(
"GTK+"
),
QStringLiteral
(
"windowsvista"
),
QStringLiteral
(
"Windows"
)
,
QStringLiteral
(
"macintosh"
)
};
if
(
incompatibleStyles
.
contains
(
desktopStyle
,
Qt
::
CaseInsensitive
))
{
if
(
availableStyles
.
contains
(
QStringLiteral
(
"breeze"
),
Qt
::
CaseInsensitive
))
{
...
...
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