Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
kdenlive
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Akhil K Gangadharan
kdenlive
Commits
ddc1dba8
Commit
ddc1dba8
authored
Apr 20, 2018
by
Jean-Baptiste Mardelle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only check color theme on first run, not each time the Wizard is called
BUG:388274
parent
304ea85e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/dialogs/wizard.cpp
src/dialogs/wizard.cpp
+0
-2
src/mainwindow.cpp
src/mainwindow.cpp
+2
-0
No files found.
src/dialogs/wizard.cpp
View file @
ddc1dba8
...
...
@@ -74,8 +74,6 @@ Wizard::Wizard(bool autoClose, QWidget *parent) :
m_systemCheckIsOk
(
false
),
m_brokenModule
(
false
)
{
// Check color theme
ThemeManager
::
instance
()
->
initDarkTheme
();
setWindowTitle
(
i18n
(
"Welcome to Kdenlive"
));
int
logoHeight
=
fontMetrics
().
height
()
*
2.5
;
setWizardStyle
(
QWizard
::
ModernStyle
);
...
...
src/mainwindow.cpp
View file @
ddc1dba8
...
...
@@ -1641,6 +1641,8 @@ bool MainWindow::readOptions()
if
(
!
initialGroup
.
exists
()
||
KdenliveSettings
::
sdlAudioBackend
().
isEmpty
())
{
// First run, check if user is on a KDE Desktop
firstRun
=
true
;
// Check color theme
ThemeManager
::
instance
()
->
initDarkTheme
();
// this is our first run, show Wizard
QPointer
<
Wizard
>
w
=
new
Wizard
(
true
);
if
(
w
->
exec
()
==
QDialog
::
Accepted
&&
w
->
isOk
())
{
...
...
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