diff --git a/cockatrice/src/settingscache.cpp b/cockatrice/src/settingscache.cpp index 3a1b7b5c..12963797 100644 --- a/cockatrice/src/settingscache.cpp +++ b/cockatrice/src/settingscache.cpp @@ -26,7 +26,13 @@ QString SettingsCache::getSettingsPath() void SettingsCache::translateLegacySettings() { - //NOTE Please remove this legacy setting translation after 2016-9-1 (+1 year after creation) +#ifdef PORTABLE_BUILD + setDeckPath("data/decks"); + setReplaysPath("data/replays"); + setPicsPath("data/pics"); + setSoundPath("data/sounds"); + return; +#endif //Layouts QFile layoutFile(getSettingsPath()+"layouts/deckLayout.ini"); @@ -627,4 +633,4 @@ void SettingsCache::setNotifyAboutUpdate(int _notifyaboutupdate) { notifyAboutUpdates = _notifyaboutupdate; settings->setValue("personal/updatenotification", notifyAboutUpdates); -} \ No newline at end of file +}