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
261
Issues
261
List
Boards
Labels
Service Desk
Milestones
Merge Requests
16
Merge Requests
16
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
Multimedia
Kdenlive
Commits
5c7677d3
Commit
5c7677d3
authored
Jul 03, 2016
by
Jean-Baptiste Mardelle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small cleanup
parent
42fbfc86
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
src/dialogs/wizard.cpp
src/dialogs/wizard.cpp
+2
-3
src/dialogs/wizard.h
src/dialogs/wizard.h
+0
-1
No files found.
src/dialogs/wizard.cpp
View file @
5c7677d3
...
...
@@ -74,15 +74,14 @@ Wizard::Wizard(bool autoClose, QWidget *parent) :
m_brokenModule
(
false
)
{
setWindowTitle
(
i18n
(
"Welcome to Kdenlive"
));
m_itemSize
=
QSize
(
20
,
fontMetrics
().
height
()
*
2.5
);
//setPixmap(QWizard::LogoPixmap, QPixmap(QStandardPaths::locate(QStandardPaths::DataLocation, QStringLiteral("banner.png"))).scaled(40, 40));
int
logoHeight
=
fontMetrics
().
height
()
*
2.5
;
setWizardStyle
(
QWizard
::
ModernStyle
);
setOption
(
QWizard
::
NoBackButtonOnLastPage
,
true
);
//setOption(QWizard::ExtendedWatermarkPixmap, false);
m_page
=
new
MyWizardPage
(
this
);
m_page
->
setTitle
(
i18n
(
"Welcome to Kdenlive %1"
,
QString
(
kdenlive_version
)));
m_page
->
setSubTitle
(
i18n
(
"Using MLT %1"
,
mlt_version_get_string
()));
setPixmap
(
QWizard
::
LogoPixmap
,
KoIconUtils
::
themedIcon
(
"kdenlive"
).
pixmap
(
m_itemSize
.
height
(),
m_itemSize
.
height
()
));
setPixmap
(
QWizard
::
LogoPixmap
,
KoIconUtils
::
themedIcon
(
"kdenlive"
).
pixmap
(
logoHeight
,
logoHeight
));
m_startLayout
=
new
QVBoxLayout
;
m_errorWidget
=
new
KMessageWidget
(
this
);
m_startLayout
->
addWidget
(
m_errorWidget
);
...
...
src/dialogs/wizard.h
View file @
5c7677d3
...
...
@@ -77,7 +77,6 @@ private:
void
slotCheckPrograms
();
void
checkMltComponents
();
void
checkMissingCodecs
();
QSize
m_itemSize
;
private
slots
:
void
slotCheckStandard
();
...
...
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