/***************************************************************************
- * Copyright (C) 2005-2014 by the Quassel Project *
+ * Copyright (C) 2005-2016 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
#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();
}