***************************************************************************/
#include "chatviewsettingspage.h"
+#include "client.h"
#include "colorbutton.h"
#include "qtui.h"
#include "qtuistyle.h"
ChatViewSettingsPage::ChatViewSettingsPage(QWidget *parent)
- : SettingsPage(tr("Appearance"), tr("Chat View"), parent)
+ : SettingsPage(tr("Interface"), tr("Chat View"), parent)
{
ui.setupUi(this);
+#ifndef HAVE_WEBKIT
+ ui.showWebPreview->hide();
+ ui.showWebPreview->setEnabled(false);
+#endif
+
+ // FIXME remove with protocol v11
+ if(!(Client::coreFeatures() & Quassel::SynchronizedMarkerLine)) {
+ ui.autoMarkerLine->setEnabled(false);
+ ui.autoMarkerLine->setChecked(true);
+ ui.autoMarkerLine->setToolTip(tr("You need at 0.6 quasselcore to use this feature"));
+ }
+
initAutoWidgets();
}