/***************************************************************************
- * Copyright (C) 2005-2013 by the Quassel Project *
+ * Copyright (C) 2005-2018 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
Q_OBJECT
public:
- TopicWidget(QWidget *parent = 0);
+ TopicWidget(QWidget *parent = nullptr);
void setTopic(const QModelIndex &index);
void setCustomFont(const QFont &);
void setUseCustomFont(const QVariant &);
private:
+ QString sanitizeTopic(const QString& topic);
+
Ui::TopicWidget ui;
QString _topic;