src/hbcore/theme/hbtheme.cpp
changeset 34 ed14f46c0e55
parent 7 923ff622b8b9
equal deleted inserted replaced
31:7516d6d86cf5 34:ed14f46c0e55
   130 {
   130 {
   131 #ifdef Q_OS_SYMBIAN
   131 #ifdef Q_OS_SYMBIAN
   132     // Condition added to check if the client itself is server.
   132     // Condition added to check if the client itself is server.
   133     if(THEME_SERVER_NAME != HbMemoryUtils::getCleanAppName()) {
   133     if(THEME_SERVER_NAME != HbMemoryUtils::getCleanAppName()) {
   134         if(!HbThemeClient::global()->connectToServer()) {
   134         if(!HbThemeClient::global()->connectToServer()) {
   135             qWarning() << "ThemeClient unable to connect to server in HbThemePrivate::HbThemePrivate.";
   135             hbWarning() << "ThemeClient unable to connect to server in HbThemePrivate::HbThemePrivate.";
   136         }
   136         }
   137     }
   137     }
   138 #endif
   138 #endif
   139 }
   139 }
   140 
   140 
   187 /*!
   187 /*!
   188     Clears the contents to reload new files
   188     Clears the contents to reload new files
   189 */
   189 */
   190 void HbThemePrivate::updateTheme(const QStringList &updatedFiles)
   190 void HbThemePrivate::updateTheme(const QStringList &updatedFiles)
   191 {
   191 {
       
   192 #ifndef Q_OS_SYMBIAN
       
   193     // Reload themeindex files
       
   194     HbThemeUtils::loadHeapThemeIndexes();
       
   195 #endif
       
   196 
   192     // Reload effects
   197     // Reload effects
   193     HbEffectInternal::reloadFxmlFiles();
   198     HbEffectInternal::reloadFxmlFiles();
   194 
   199 
   195     iconTheme.emitUpdateIcons(updatedFiles);
   200     iconTheme.emitUpdateIcons(updatedFiles);
   196 
   201