diff --git a/src/widgets/basewindow.cpp b/src/widgets/basewindow.cpp index 635ad107f..73213f89a 100644 --- a/src/widgets/basewindow.cpp +++ b/src/widgets/basewindow.cpp @@ -19,7 +19,6 @@ #include #include #pragma comment(lib, "Dwmapi.lib") -#pragma comment(lib, "Gdi32.lib") #include #include diff --git a/src/widgets/split.cpp b/src/widgets/split.cpp index db443fa6c..96b1061a4 100644 --- a/src/widgets/split.cpp +++ b/src/widgets/split.cpp @@ -111,6 +111,8 @@ Split::Split(SplitContainer *parent) }); this->header.updateModerationModeIcon(); + + this->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding); } Split::~Split()