Initial Channel specific highlights feature implementation
[quassel.git] / src / qtui / qtuimessageprocessor.h
index 40eb860..3073c7b 100644 (file)
@@ -67,8 +67,9 @@ private:
     bool isEnabled;
     Qt::CaseSensitivity caseSensitive;
     bool isRegExp;
-    inline HighlightRule(const QString &name, bool enabled, Qt::CaseSensitivity cs, bool regExp)
-    : name(name), isEnabled(enabled), caseSensitive(cs), isRegExp(regExp) {}
+    QString chanName;
+    inline HighlightRule(const QString &name, bool enabled, Qt::CaseSensitivity cs, bool regExp, const QString &chanName)
+    : name(name), isEnabled(enabled), caseSensitive(cs), isRegExp(regExp), chanName(chanName) {}
   };
 
   QList<HighlightRule> _highlightRules;