From 00e86a4eeba1e171b97be4cfbd8ce2a5829a13a4 Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Fri, 29 Mar 2019 11:26:20 +1100 Subject: [PATCH] fixed #693 --- olive.pro | 8 ++++---- ui/effectui.cpp | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/olive.pro b/olive.pro index ae945bd11..f0732106f 100644 --- a/olive.pro +++ b/olive.pro @@ -48,10 +48,6 @@ system("which git") { CONFIG += c++11 -CONFIG(debug, debug|release) { - CONFIG += console -} - SOURCES += \ main.cpp \ ui/mainwindow.cpp \ @@ -324,6 +320,10 @@ TRANSLATIONS += \ ts/olive_id.ts win32 { + CONFIG(debug, debug|release) { + CONFIG += console + } + RC_FILE = packaging/windows/resources.rc LIBS += -lavutil -lavformat -lavcodec -lavfilter -lswscale -lswresample -lopengl32 -luser32 contains(DEFINES, OLIVE_OCIO) { diff --git a/ui/effectui.cpp b/ui/effectui.cpp index 53da884fc..c47f08c9f 100644 --- a/ui/effectui.cpp +++ b/ui/effectui.cpp @@ -66,6 +66,7 @@ EffectUI::EffectUI(Effect* e) : SetTitle(effect_name); QWidget* ui = new QWidget(this); + ui->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Maximum); SetContents(ui); SetExpanded(e->IsExpanded());