summaryrefslogtreecommitdiffstats
path: root/src/gui/styles
diff options
context:
space:
mode:
authorOlivier Goffart <olivier.goffart@nokia.com>2010-09-22 13:16:01 (GMT)
committerOlivier Goffart <olivier.goffart@nokia.com>2010-09-22 13:16:01 (GMT)
commit3263e0d971ac263e42078064b3f275dff4f62650 (patch)
tree79d5e589c15ded11f99279ab792be9eb44fbe0f7 /src/gui/styles
parentb93947f5a25b3cc021518b944dc96b892f672bd3 (diff)
downloadQt-3263e0d971ac263e42078064b3f275dff4f62650.zip
Qt-3263e0d971ac263e42078064b3f275dff4f62650.tar.gz
Qt-3263e0d971ac263e42078064b3f275dff4f62650.tar.bz2
Fix warning on MSVC
Reviewed-by: Thierry
Diffstat (limited to 'src/gui/styles')
-rw-r--r--src/gui/styles/qstylehelper_p.h2
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); }
};