Fix references to user profile directory.

(cherry picked from commit 63b3fe98aa)
v3.5.13-sru
Darrell Anderson 12 years ago committed by Slávek Banko
parent 0443f17618
commit 50f2b78672

@ -427,7 +427,7 @@ AC_ARG_ENABLE(nfs-hack,
AC_HELP_STRING([--enable-nfs-hack],
[Enable a hack for album libraries on a nfs mount,
which causes the database to be saved in
$HOMEDIR/.kde/share/apps/digikam/directoryname.db [default=disable]]),
$HOMEDIR/.trinity/share/apps/digikam/directoryname.db [default=disable]]),
[enable_nfs_hack=$enableval],
[enable_nfs_hack=no]
)

@ -347,7 +347,7 @@ AC_ARG_ENABLE(nfs-hack,
AC_HELP_STRING([--enable-nfs-hack],
[Enable a hack for album libraries on a nfs mount,
which causes the database to be saved in
$HOMEDIR/.kde/share/apps/digikam/directoryname.db [default=disable]]),
$HOMEDIR/.trinity/share/apps/digikam/directoryname.db [default=disable]]),
[enable_nfs_hack=$enableval],
[enable_nfs_hack=no]
)

@ -64,7 +64,7 @@ void SqliteDB::openDB(const TQString& directory)
TQString dbPath = directory + "/digikam3.db";
#ifdef NFS_HACK
dbPath = TQDir::homeDirPath() + "/.kde/share/apps/digikam/" +
dbPath = TQDir::homeDirPath() + "/.trinity/share/apps/digikam/" +
KIO::encodeFileName(TQDir::cleanDirPath(dbPath));
#endif

Loading…
Cancel
Save