compositor f1-f10/j/p shortcuts, opencv upgrade, new stylize,puzzle opencv plugins
[goodguy/history.git] / cinelerra-5.1 / cinelerra / setformat.C
index b70f68824cf1bb8c172dcec863fe9bc35d610ccc..bf22103f2c0e6e7889bc5e3b63b5552af991ea3e 100644 (file)
@@ -279,22 +279,18 @@ void SetFormatThread::update_aspect()
 
 
 SetFormatWindow::SetFormatWindow(MWindow *mwindow,
-       SetFormatThread *thread,
-       int x,
-       int y)
- : BC_Window(_(PROGRAM_NAME ": Set Format"),
-       x,
-       y,
-       mwindow->theme->setformat_w,
-       mwindow->theme->setformat_h,
-       -1,
-       -1,
-       0,
-       0,
-       1)
+       SetFormatThread *thread, int x, int y)
+ : BC_Window(_(PROGRAM_NAME ": Set Format"), x, y,
+       mwindow->theme->setformat_w, mwindow->theme->setformat_h,
+       -1, -1, 0, 0, 1)
 {
        this->mwindow = mwindow;
        this->thread = thread;
+       presets = 0;
+}
+SetFormatWindow::~SetFormatWindow()
+{
+       delete presets;
 }
 
 void SetFormatWindow::create_objects()