|
|
@ -271,7 +271,7 @@ int main(int argc, char* argv[]) {
|
|
|
|
|
|
|
|
|
|
|
|
// compatibility stuff for 1.3, needs to be moved to better place later
|
|
|
|
// compatibility stuff for 1.3, needs to be moved to better place later
|
|
|
|
if (CBTConfig::get(CBTConfig::bibletimeVersion) != VERSION) {
|
|
|
|
if (CBTConfig::get(CBTConfig::bibletimeVersion) != VERSION) {
|
|
|
|
KStandardDirs stdDirs;
|
|
|
|
TDEStandardDirs stdDirs;
|
|
|
|
TQDir dir(stdDirs.saveLocation("data", "bibletime/"));
|
|
|
|
TQDir dir(stdDirs.saveLocation("data", "bibletime/"));
|
|
|
|
if (!dir.exists("sessions/") && dir.exists("profiles/")) { //only old dir exists
|
|
|
|
if (!dir.exists("sessions/") && dir.exists("profiles/")) { //only old dir exists
|
|
|
|
dir.rename("profiles", "sessions");
|
|
|
|
dir.rename("profiles", "sessions");
|
|
|
|