Made old ChatLine's code even more ugly by adding some more write-only code to it.
[quassel.git] / src / qtui / chatline-old.h
index c243c95..b29aca2 100644 (file)
@@ -104,7 +104,7 @@ class ChatLine : public QObject, public AbstractUiMsg {
     int selectionStart, selectionEnd;
     void formatMsg(Message);
     void precomputeLine();
-    QList<FormatRange> calcFormatRanges(const UiStyle::StyledText &, QTextLayout::FormatRange additional = QTextLayout::FormatRange());
+    QList<FormatRange> calcFormatRanges(UiStyle::StyledText, QTextLayout::FormatRange additional = QTextLayout::FormatRange());
 };
 
 #endif