diff options
| author | Strangerke | 2013-09-11 21:33:10 +0200 |
|---|---|---|
| committer | Strangerke | 2013-09-11 21:33:10 +0200 |
| commit | da1a427e794434a09cd39ab45e32ae7afca9a170 (patch) | |
| tree | 85b4700515bc7853e4f90ddae22bc3b785c4ab3a /backends/platform/tizen/system.cpp | |
| parent | 49dbac6a2a5cde294a4c4c9a47467e7b5d95e08b (diff) | |
| parent | 5c6ee7573c0cf05bbbb154d4734e94e478f453e5 (diff) | |
| download | scummvm-rg350-da1a427e794434a09cd39ab45e32ae7afca9a170.tar.gz scummvm-rg350-da1a427e794434a09cd39ab45e32ae7afca9a170.tar.bz2 scummvm-rg350-da1a427e794434a09cd39ab45e32ae7afca9a170.zip | |
Merge branch 'master' of https://github.com/urukgit/scummvm into avalanche
Diffstat (limited to 'backends/platform/tizen/system.cpp')
| -rw-r--r-- | backends/platform/tizen/system.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/backends/platform/tizen/system.cpp b/backends/platform/tizen/system.cpp index 54d92146e5..3448dc1421 100644 --- a/backends/platform/tizen/system.cpp +++ b/backends/platform/tizen/system.cpp @@ -513,13 +513,15 @@ TizenAppForm *systemStart(Tizen::App::Application *app) { } if (E_SUCCESS != appForm->Construct() || - E_SUCCESS != appFrame->AddControl(*appForm)) { + E_SUCCESS != appFrame->AddControl(appForm)) { delete appForm; AppLog("Failed to construct appForm"); return NULL; } appFrame->SetCurrentForm(appForm); + appForm->GetVisualElement()->SetShowState(false); + logLeaving(); return appForm; } @@ -531,7 +533,7 @@ void systemError(const char *message) { AppLog("Fatal system error: %s", message); if (strspn(message, "Config file buggy:") > 0) { - Tizen::Io::File::Remove(DEFAULT_CONFIG_FILE); + Tizen::Io::File::Remove(App::GetInstance()->GetAppDataPath() + DEFAULT_CONFIG_FILE); Application::GetInstance()->SendUserEvent(USER_MESSAGE_EXIT_ERR_CONFIG, NULL); } else { ArrayList *args = new ArrayList(); |
