summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qtextengine_p.h
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eblomfel@trolltech.com>2009-08-07 11:18:41 (GMT)
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-01-14 12:49:44 (GMT)
commit49dfc4ed6a89cdd7377e4b88236bb7303fdfdc15 (patch)
treec60697560a45c380a3720bbf7dcf1c29e1d4013e /src/gui/text/qtextengine_p.h
parent4417f485dbaac79412d43ec403e56e7e2067e5ac (diff)
downloadQt-49dfc4ed6a89cdd7377e4b88236bb7303fdfdc15.zip
Qt-49dfc4ed6a89cdd7377e4b88236bb7303fdfdc15.tar.gz
Qt-49dfc4ed6a89cdd7377e4b88236bb7303fdfdc15.tar.bz2
Remove const-specifier to make QTextItemInt::operator=() more beautiful
The const-specifier on the char format was unecessary, and made the operator= implementation ugly, so it has been removed. Reviewed-by: Simon Hausmann
Diffstat (limited to 'src/gui/text/qtextengine_p.h')
-rw-r--r--src/gui/text/qtextengine_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qtextengine_p.h b/src/gui/text/qtextengine_p.h
index 3ce744e..347b71e 100644
--- a/src/gui/text/qtextengine_p.h
+++ b/src/gui/text/qtextengine_p.h
@@ -332,7 +332,7 @@ public:
RenderFlags flags;
bool justified;
QTextCharFormat::UnderlineStyle underlineStyle;
- const QTextCharFormat charFormat;
+ QTextCharFormat charFormat;
int num_chars;
const QChar *chars;
const unsigned short *logClusters;