diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2010-09-22 20:38:40 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2010-09-22 20:38:40 (GMT) |
commit | 4252b1cadf1eef24a1d173bbb41ee56ab8fe0480 (patch) | |
tree | 992323f9fad712da5d6c2edda70ebd6a3b787a99 /src/gui/styles | |
parent | bb878bb1ee9a5272359e88d44806971e13c31486 (diff) | |
parent | eaeaba06cea2ca0668a3c904744bab06b11077d0 (diff) | |
download | Qt-4252b1cadf1eef24a1d173bbb41ee56ab8fe0480.zip Qt-4252b1cadf1eef24a1d173bbb41ee56ab8fe0480.tar.gz Qt-4252b1cadf1eef24a1d173bbb41ee56ab8fe0480.tar.bz2 |
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
QPainter not restored correctly in Graphics View.
Setting QGraphicsItem::ItemClipsChildrenToShape forces ItemClipsToShape
Fix compilation
Fixed drawing of QPixmaps with masks in the GL 2 and X11 engines.
Fix warning on MSVC
QThread: make sure start works even if called after exit
Revert "Fixed painter path drawing on FBO without stencil buffer."
Fix a crash with D&d on mingw
Revert "Keep other text format with QTextOption::SuppressColors tag on"
Fixed stencil buffer on FBOs with OpenGL ES.
Keep other text format with QTextOption::SuppressColors tag on
QTreeView: do not scroll to top if last item is removed
Diffstat (limited to 'src/gui/styles')
-rw-r--r-- | src/gui/styles/qstylehelper_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/styles/qstylehelper_p.h b/src/gui/styles/qstylehelper_p.h index 71fce55..3759929 100644 --- a/src/gui/styles/qstylehelper_p.h +++ b/src/gui/styles/qstylehelper_p.h @@ -108,7 +108,7 @@ template <typename T> { typedef HexString<T> type; enum { ExactSize = true }; - static int size(const HexString<T> &str) { return sizeof(str.val) * 2; } + static int size(const HexString<T> &) { return sizeof(T) * 2; } static inline void appendTo(const HexString<T> &str, QChar *&out) { str.write(out); } }; |