fixes for linux

This commit is contained in:
fourtf
2018-07-05 12:08:33 +02:00
parent f2238729f1
commit ef13aef7df
3 changed files with 6 additions and 4 deletions
+4 -2
View File
@@ -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());