#include "chatviewsettingspage.h"
#include "client.h"
-#include "colorbutton.h"
#include "qtui.h"
#include "qtuistyle.h"
{
ui.setupUi(this);
-#ifndef HAVE_WEBKIT
+#if !defined HAVE_WEBKIT && !defined HAVE_WEBENGINE
ui.showWebPreview->hide();
ui.showWebPreview->setEnabled(false);
#endif
void ChatViewSettingsPage::save()
{
+ // Save the general settings
SettingsPage::save();
+ // Update the stylesheet in case fonts are changed
QtUi::style()->generateSettingsQss();
QtUi::style()->reload();
}