src/hbcore/theme/hbtheme.cpp
changeset 34 ed14f46c0e55
parent 7 923ff622b8b9
--- a/src/hbcore/theme/hbtheme.cpp	Mon Oct 04 17:49:30 2010 +0300
+++ b/src/hbcore/theme/hbtheme.cpp	Mon Oct 18 18:23:13 2010 +0300
@@ -132,7 +132,7 @@
     // Condition added to check if the client itself is server.
     if(THEME_SERVER_NAME != HbMemoryUtils::getCleanAppName()) {
         if(!HbThemeClient::global()->connectToServer()) {
-            qWarning() << "ThemeClient unable to connect to server in HbThemePrivate::HbThemePrivate.";
+            hbWarning() << "ThemeClient unable to connect to server in HbThemePrivate::HbThemePrivate.";
         }
     }
 #endif
@@ -189,6 +189,11 @@
 */
 void HbThemePrivate::updateTheme(const QStringList &updatedFiles)
 {
+#ifndef Q_OS_SYMBIAN
+    // Reload themeindex files
+    HbThemeUtils::loadHeapThemeIndexes();
+#endif
+
     // Reload effects
     HbEffectInternal::reloadFxmlFiles();