summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@nokia.com>2010-11-29 18:08:47 (GMT)
committerAlessandro Portale <alessandro.portale@nokia.com>2010-11-29 18:08:47 (GMT)
commit8e6d4283edc5fcf04a1a624a23e8fc1a9aa7c2d4 (patch)
treefd3f0b3f8b567ceee77dd91223bc0df6ce851b7b /src
parentb5651eacb88739ab4c77d6fe220ec0fd98091849 (diff)
downloadQt-8e6d4283edc5fcf04a1a624a23e8fc1a9aa7c2d4.zip
Qt-8e6d4283edc5fcf04a1a624a23e8fc1a9aa7c2d4.tar.gz
Qt-8e6d4283edc5fcf04a1a624a23e8fc1a9aa7c2d4.tar.bz2
Removed some new warnigs.
Diffstat (limited to 'src')
-rw-r--r--src/gui/styles/qs60style_s60.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/styles/qs60style_s60.cpp b/src/gui/styles/qs60style_s60.cpp
index 7b75d40..92f53ff 100644
--- a/src/gui/styles/qs60style_s60.cpp
+++ b/src/gui/styles/qs60style_s60.cpp
@@ -698,7 +698,7 @@ void QS60StylePrivate::deleteStoredSettings()
{
QSettings settings(QSettings::UserScope, QLatin1String("Trolltech"));
settings.beginGroup(QLatin1String("QS60Style"));
- settings.remove("");
+ settings.remove(QString());
settings.endGroup();
}
@@ -717,7 +717,6 @@ QColor QS60StylePrivate::colorFromFrameGraphics(SkinFrameElements frame) const
QT_TRAP_THROWING(
CRepository *themeRepository = CRepository::NewLC(personalisationUID);
if (themeRepository) {
- static const TInt KThemePkgIDDesSize = 23; //size of the stored theme package ID
TBuf<32> value; //themeID is currently max of 8 + 1 + 8 characters, but lets have some extra space
const TUint32 key = 0x00000002; //active theme key in the repository
error = themeRepository->Get(key, value);
@@ -747,7 +746,7 @@ QColor QS60StylePrivate::colorFromFrameGraphics(SkinFrameElements frame) const
return storedColor;
}
}
- settings.remove(""); //if color was invalid, or theme has been changed, just delete all stored settings
+ settings.remove(QString()); //if color was invalid, or theme has been changed, just delete all stored settings
}
}
#endif