diff options
author | Janne Anttila <janne.anttila@digia.com> | 2009-09-09 07:52:38 (GMT) |
---|---|---|
committer | Janne Anttila <janne.anttila@digia.com> | 2009-09-09 07:52:38 (GMT) |
commit | 85881f83c34cbb92e5d2ea61d16daef1f34fcad8 (patch) | |
tree | b887fb6be925fdfeacfff60d866b5b059db90f4a | |
parent | 53a7b52a89f73498407921dfe1f2821328fdafbf (diff) | |
download | Qt-85881f83c34cbb92e5d2ea61d16daef1f34fcad8.zip Qt-85881f83c34cbb92e5d2ea61d16daef1f34fcad8.tar.gz Qt-85881f83c34cbb92e5d2ea61d16daef1f34fcad8.tar.bz2 |
Fixed 'use of function XXX is deprecated' warning reported by RVCT.
Task-number: 241223
-rw-r--r-- | src/gui/styles/qs60style_s60.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/styles/qs60style_s60.cpp b/src/gui/styles/qs60style_s60.cpp index 6418941..97d6585 100644 --- a/src/gui/styles/qs60style_s60.cpp +++ b/src/gui/styles/qs60style_s60.cpp @@ -1016,7 +1016,7 @@ QS60StylePrivate::QS60StylePrivate() void QS60StylePrivate::setStyleProperty_specific(const char *name, const QVariant &value) { - if (name == QLatin1String("foo")) { + if (QLatin1String(name) == QLatin1String("foo")) { // BaR } else { setStyleProperty(name, value); @@ -1025,7 +1025,7 @@ void QS60StylePrivate::setStyleProperty_specific(const char *name, const QVarian QVariant QS60StylePrivate::styleProperty_specific(const char *name) const { - if (name == QLatin1String("foo")) + if (QLatin1String(name) == QLatin1String("foo")) return QLatin1String("Bar"); else return styleProperty(name); |