projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove the word boundary cache
[quassel.git]
/
src
/
qtui
/
chatlinemodelitem.h
diff --git
a/src/qtui/chatlinemodelitem.h
b/src/qtui/chatlinemodelitem.h
index
b7a3a85
..
9fe4b8b
100644
(file)
--- a/
src/qtui/chatlinemodelitem.h
+++ b/
src/qtui/chatlinemodelitem.h
@@
-39,15
+39,6
@@
public:
virtual inline Message::Type msgType() const { return _styledMsg.type(); }
virtual inline Message::Flags msgFlags() const { return _styledMsg.flags(); }
virtual inline Message::Type msgType() const { return _styledMsg.type(); }
virtual inline Message::Flags msgFlags() const { return _styledMsg.flags(); }
- /// Used to store information about words to be used for wrapping
- struct Word {
- quint16 start;
- qreal endX;
- qreal width;
- qreal trailing;
- };
- typedef QVector<Word> WrapList;
-
private:
QVariant timestampData(int role) const;
QVariant senderData(int role) const;
private:
QVariant timestampData(int role) const;
QVariant senderData(int role) const;
@@
-56,13
+47,7
@@
private:
QVariant backgroundBrush(UiStyle::FormatType subelement, bool selected = false) const;
quint32 messageLabel() const;
QVariant backgroundBrush(UiStyle::FormatType subelement, bool selected = false) const;
quint32 messageLabel() const;
- void computeWrapList() const;
-
- mutable WrapList _wrapList;
UiStyle::StyledMessage _styledMsg;
UiStyle::StyledMessage _styledMsg;
-
- static unsigned char *TextBoundaryFinderBuffer;
- static int TextBoundaryFinderBufferSize;
};
#endif
};
#endif