Changeset 156 for trunk/src/MainFrame.cpp
- Timestamp:
- 09/24/2008 04:14:04 PM (4 years ago)
- File:
-
- 1 edited
-
trunk/src/MainFrame.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/MainFrame.cpp
r155 r156 70 70 SetIcon(wxIcon(ICON)); 71 71 72 /* Check if there is configuration file under old-name and 73 * rename it 74 */ 75 wxString home_path = wxFileName::GetHomeDir(); 76 if (wxFileExists(home_path+wxT("/.OpenYahtzee"))) { 77 // we don't won't to overwrite newer files. 78 wxRenameFile(home_path+wxT("/.OpenYahtzee"),home_path+wxT("/.openyahtzee"),false); 79 } 72 80 m_settingsdb = new SettingsDB(); //Get the settings database connection 73 81 m_highscoredb = new HighScoreTableDB();
Note: See TracChangeset
for help on using the changeset viewer.
