--- a/homescreenapp/stateplugins/hsapplibrarystateplugin/src/hsoperatorhandler_p.cpp Mon Sep 13 13:03:23 2010 +0300
+++ b/homescreenapp/stateplugins/hsapplibrarystateplugin/src/hsoperatorhandler_p.cpp Mon Sep 20 10:19:07 2010 +0300
@@ -144,13 +144,14 @@
XQSettingsManager *crManager)
{
QVariant variant = getVariantFromKey(
- crManager, OperatorStoreApplication, XQSettingsManager::TypeString);
+ crManager, OperatorStoreApplication, XQSettingsManager::TypeString);
if (!variant.isNull()) {
CaEntry *operatorEntry = new CaEntry;
operatorEntry->setEntryTypeName(Hs::applicationTypeName);
+ // Convert from a hexadecimal integer into a decimal one (as a string).
operatorEntry->setAttribute(
- Hs::applicationUidEntryKey, variant.toString());
-
+ Hs::applicationUidEntryKey,
+ QString::number(variant.toString().toInt(0, 16)));
return operatorEntry;
}
return NULL;
@@ -210,7 +211,7 @@
if (presenceVariant.isValid()) {
qDebug() << "HsOperatorHandlerPrivate::storePresent"
- << presenceVariant.toInt();
+ << presenceVariant;
return presenceVariant;
}
return QVariant();