Fix compile warning

parent 1f9d298e
...@@ -20,9 +20,9 @@ ...@@ -20,9 +20,9 @@
#include "generators.h" #include "generators.h"
#include "assets/abstractassetsrepository.hpp" #include "assets/abstractassetsrepository.hpp"
#include "doc/kthumb.h" #include "doc/kthumb.h"
#include "timecodedisplay.h"
#include "effects/effectsrepository.hpp" #include "effects/effectsrepository.hpp"
#include "kdenlivesettings.h" #include "kdenlivesettings.h"
#include "monitor/monitor.h"
#include <QDialogButtonBox> #include <QDialogButtonBox>
#include <QDir> #include <QDir>
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
#include <mlt++/MltProfile.h> #include <mlt++/MltProfile.h>
#include <mlt++/MltTractor.h> #include <mlt++/MltTractor.h>
Generators::Generators(Monitor *monitor, const QString &path, QWidget *parent) Generators::Generators(const QString &path, QWidget *parent)
: QDialog(parent) : QDialog(parent)
, m_producer(nullptr) , m_producer(nullptr)
, m_timePos(nullptr) , m_timePos(nullptr)
......
...@@ -40,7 +40,6 @@ class Producer; ...@@ -40,7 +40,6 @@ class Producer;
class QLabel; class QLabel;
class QResizeEvent; class QResizeEvent;
class ParameterContainer; class ParameterContainer;
class Monitor;
class TimecodeDisplay; class TimecodeDisplay;
class Generators : public QDialog class Generators : public QDialog
...@@ -48,7 +47,7 @@ class Generators : public QDialog ...@@ -48,7 +47,7 @@ class Generators : public QDialog
Q_OBJECT Q_OBJECT
public: public:
explicit Generators(Monitor *monitor, const QString &path, QWidget *parent = nullptr); explicit Generators(const QString &path, QWidget *parent = nullptr);
~Generators() override; ~Generators() override;
static void getGenerators(const QStringList &producers, QMenu *menu); static void getGenerators(const QStringList &producers, QMenu *menu);
......
...@@ -855,7 +855,7 @@ void MainWindow::loadGenerators() ...@@ -855,7 +855,7 @@ void MainWindow::loadGenerators()
void MainWindow::buildGenerator(QAction *action) void MainWindow::buildGenerator(QAction *action)
{ {
Generators gen(m_clipMonitor, action->data().toString(), this); Generators gen(action->data().toString(), this);
if (gen.exec() == QDialog::Accepted) { if (gen.exec() == QDialog::Accepted) {
pCore->bin()->slotAddClipToProject(gen.getSavedClip()); pCore->bin()->slotAddClipToProject(gen.getSavedClip());
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment