Skip to content
GitLab
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
2e0fbcd8
Commit
2e0fbcd8
authored
Feb 28, 2020
by
Jean-Baptiste Mardelle
Browse files
Fix compile warning
parent
1f9d298e
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/bin/generators/generators.cpp
View file @
2e0fbcd8
...
...
@@ -20,9 +20,9 @@
#include
"generators.h"
#include
"assets/abstractassetsrepository.hpp"
#include
"doc/kthumb.h"
#include
"timecodedisplay.h"
#include
"effects/effectsrepository.hpp"
#include
"kdenlivesettings.h"
#include
"monitor/monitor.h"
#include
<QDialogButtonBox>
#include
<QDir>
...
...
@@ -44,7 +44,7 @@
#include
<mlt++/MltProfile.h>
#include
<mlt++/MltTractor.h>
Generators
::
Generators
(
Monitor
*
monitor
,
const
QString
&
path
,
QWidget
*
parent
)
Generators
::
Generators
(
const
QString
&
path
,
QWidget
*
parent
)
:
QDialog
(
parent
)
,
m_producer
(
nullptr
)
,
m_timePos
(
nullptr
)
...
...
src/bin/generators/generators.h
View file @
2e0fbcd8
...
...
@@ -40,7 +40,6 @@ class Producer;
class
QLabel
;
class
QResizeEvent
;
class
ParameterContainer
;
class
Monitor
;
class
TimecodeDisplay
;
class
Generators
:
public
QDialog
...
...
@@ -48,7 +47,7 @@ class Generators : public QDialog
Q_OBJECT
public:
explicit
Generators
(
Monitor
*
monitor
,
const
QString
&
path
,
QWidget
*
parent
=
nullptr
);
explicit
Generators
(
const
QString
&
path
,
QWidget
*
parent
=
nullptr
);
~
Generators
()
override
;
static
void
getGenerators
(
const
QStringList
&
producers
,
QMenu
*
menu
);
...
...
src/mainwindow.cpp
View file @
2e0fbcd8
...
...
@@ -855,7 +855,7 @@ void MainWindow::loadGenerators()
void
MainWindow
::
buildGenerator
(
QAction
*
action
)
{
Generators
gen
(
m_clipMonitor
,
action
->
data
().
toString
(),
this
);
Generators
gen
(
action
->
data
().
toString
(),
this
);
if
(
gen
.
exec
()
==
QDialog
::
Accepted
)
{
pCore
->
bin
()
->
slotAddClipToProject
(
gen
.
getSavedClip
());
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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