diff --git a/src/ui/dialogs/renderoutputwidget.cpp b/src/ui/dialogs/renderoutputwidget.cpp index 88da19890..7850cd997 100644 --- a/src/ui/dialogs/renderoutputwidget.cpp +++ b/src/ui/dialogs/renderoutputwidget.cpp @@ -33,7 +33,9 @@ RenderOutputWidget::RenderOutputWidget(const int canvasWidth, const int canvasHeight, - QWidget *parent) : QDialog(parent) { + QWidget *parent) + : Friction::Ui::Dialog(parent) +{ mCanvasWidth = canvasWidth; mCanvasHeight = canvasHeight; diff --git a/src/ui/dialogs/renderoutputwidget.h b/src/ui/dialogs/renderoutputwidget.h index 81b990c3a..203059f12 100644 --- a/src/ui/dialogs/renderoutputwidget.h +++ b/src/ui/dialogs/renderoutputwidget.h @@ -35,7 +35,10 @@ #include #include -class UI_EXPORT RenderOutputWidget : public QDialog { +#include "dialog.h" + +class UI_EXPORT RenderOutputWidget : public Friction::Ui::Dialog +{ Q_OBJECT public: explicit RenderOutputWidget(const int canvasWidth,