fixed compiling
This commit is contained in:
@@ -18,11 +18,12 @@
|
||||
|
||||
#include <QHBoxLayout>
|
||||
#include <QVBoxLayout>
|
||||
#include "widgets/helper/rippleeffectlabel.hpp"
|
||||
|
||||
#define WM_DPICHANGED 0x02E0
|
||||
#endif
|
||||
|
||||
#include "widgets/helper/rippleeffectlabel.hpp"
|
||||
|
||||
namespace chatterino {
|
||||
namespace widgets {
|
||||
|
||||
@@ -114,7 +115,7 @@ void BaseWindow::init()
|
||||
|
||||
QWidget *BaseWindow::getLayoutContainer()
|
||||
{
|
||||
if (this->enableCustomFrame) {
|
||||
if (this->hasCustomWindowFrame()) {
|
||||
return this->layoutBase;
|
||||
} else {
|
||||
return this;
|
||||
|
||||
@@ -50,11 +50,7 @@ Window::Window(const QString &windowName, singletons::ThemeManager &_themeManage
|
||||
this->getLayoutContainer()->setLayout(layout);
|
||||
|
||||
// set margin
|
||||
// if (SettingsManager::getInstance().useCustomWindowFrame.get()) {
|
||||
// layout->setMargin(1);
|
||||
// } else {
|
||||
layout->setMargin(0);
|
||||
// }
|
||||
|
||||
this->refreshTheme();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user