From 78dede21f4657bb48931dabb6375bebc605bfdf9 Mon Sep 17 00:00:00 2001 From: Rasmus Karlsson Date: Tue, 3 Jul 2018 17:42:38 +0000 Subject: [PATCH] Fix linux not compiling --- src/widgets/settingspages/AppearancePage.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/widgets/settingspages/AppearancePage.cpp b/src/widgets/settingspages/AppearancePage.cpp index f82402ad2..836e2a108 100644 --- a/src/widgets/settingspages/AppearancePage.cpp +++ b/src/widgets/settingspages/AppearancePage.cpp @@ -86,8 +86,8 @@ void AppearancePage::addApplicationGroup(QVBoxLayout &layout) // show buttons #ifndef USEWINSDK - form->addRow("", this->createCheckBox(TAB_PREF, app->settings->hidePreferencesButton)); - form->addRow("", this->createCheckBox(TAB_USER, app->settings->hideUserButton)); + form->addRow("", this->createCheckBox(TAB_PREF, getSettings()->hidePreferencesButton)); + form->addRow("", this->createCheckBox(TAB_USER, getSettings()->hideUserButton)); #endif // scrolling