fixes for linux
This commit is contained in:
@@ -416,8 +416,10 @@ SplitNotebook::SplitNotebook(Window *parent)
|
||||
bool customFrame = parent->hasCustomWindowFrame();
|
||||
|
||||
if (!customFrame) {
|
||||
auto *settingsBtn = this->addCustomButton();
|
||||
auto *userBtn = this->addCustomButton();
|
||||
auto settingsBtn = this->addCustomButton();
|
||||
auto userBtn = this->addCustomButton();
|
||||
auto updateBtn = this->addCustomButton();
|
||||
updateBtn->setPixmap(QPixmap(":/images/download_update.png"));
|
||||
|
||||
settingsBtn->setVisible(!app->settings->hidePreferencesButton.getValue());
|
||||
userBtn->setVisible(!app->settings->hideUserButton.getValue());
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
#include "util/Helpers.hpp"
|
||||
#include "widgets/BaseWindow.hpp"
|
||||
#include "widgets/Notebook.hpp"
|
||||
#include "widgets/dialogs/UpdatePromptDialog.hpp"
|
||||
|
||||
//#ifdef USEWINSDK
|
||||
//#include <platform/borderless/qwinwidget.h>
|
||||
@@ -15,7 +16,6 @@
|
||||
namespace chatterino {
|
||||
|
||||
class Theme;
|
||||
class UpdatePromptDialog;
|
||||
|
||||
class Window : public BaseWindow
|
||||
{
|
||||
|
||||
@@ -180,7 +180,7 @@ void SettingsDialog::themeRefreshEvent()
|
||||
BaseWindow::themeRefreshEvent();
|
||||
|
||||
QPalette palette;
|
||||
palette.setColor(QPalette::Background, QColor("#f44"));
|
||||
palette.setColor(QPalette::Background, QColor("#444"));
|
||||
this->setPalette(palette);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user