homescreenapp/stateplugins/hshomescreenstateplugin/src/hsloadscenestate.cpp
changeset 101 ba1b7e218624
parent 69 87476091b3f5
equal deleted inserted replaced
98:e6f74eb7f69f 101:ba1b7e218624
    16 */
    16 */
    17 
    17 
    18 #include "hsloadscenestate.h"
    18 #include "hsloadscenestate.h"
    19 #include "hsscene.h"
    19 #include "hsscene.h"
    20 #include "hsgui.h"
    20 #include "hsgui.h"
       
    21 #include "hsdbupdatethread.h"
    21 
    22 
    22 #ifdef Q_OS_SYMBIAN
    23 #ifdef Q_OS_SYMBIAN
    23 #include <XQSettingsManager>
    24 #include <XQSettingsManager>
    24 #include <startupdomainpskeys.h>
    25 #include <startupdomainpskeys.h>
    25 #endif
    26 #endif
    90 		}
    91 		}
    91 
    92 
    92 #else
    93 #else
    93 
    94 
    94     showUi();
    95     showUi();
    95 
       
    96 #endif
    96 #endif
       
    97     if (HsDbUpdateThread::instance() && !HsDbUpdateThread::instance()->isRunning()) {
       
    98        // HsDbUpdateThread::instance()->start();
       
    99     }
       
   100    
    97 }
   101 }
    98 #ifdef Q_OS_SYMBIAN
   102 #ifdef Q_OS_SYMBIAN
    99 /*!
   103 /*!
   100     \fn HsLoadSceneState::handleKeyChange()
   104     \fn HsLoadSceneState::handleKeyChange()
   101 
   105 
   120     brings the hs app to the foreground.
   124     brings the hs app to the foreground.
   121 */
   125 */
   122 
   126 
   123 void HsLoadSceneState::showUi()
   127 void HsLoadSceneState::showUi()
   124 {
   128 {
   125     qDebug() << "HsLoadSceneState::showUi";
       
   126   
       
   127     HsGui::instance()->show();
   129     HsGui::instance()->show();
   128     emit event_history();
   130     emit event_history();
       
   131    
   129 }
   132 }