diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-11-04 00:44:47 -0500 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-12-28 19:16:59 +0100 |
commit | 50f2b78672c3a43e6fa5ad75bdb6de4752c0aec3 (patch) | |
tree | 47a7aa8daee00adf476b846ec7d24ecb4b88e11d | |
parent | 0443f17618dac0e4cd87b687aece345b4e0af4c7 (diff) | |
download | digikam-50f2b78672c3a43e6fa5ad75bdb6de4752c0aec3.tar.gz digikam-50f2b78672c3a43e6fa5ad75bdb6de4752c0aec3.zip |
Fix references to user profile directory.
(cherry picked from commit 63b3fe98aa2da9d0920987a9e96d575b1c96e47e)
-rw-r--r-- | configure.in | 2 | ||||
-rw-r--r-- | digikam/configure.in.in | 2 | ||||
-rw-r--r-- | digikam/kioslave/sqlitedb.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/configure.in b/configure.in index ca6b4c7d..22a91fdd 100644 --- a/configure.in +++ b/configure.in @@ -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] ) diff --git a/digikam/configure.in.in b/digikam/configure.in.in index c5a4f2bd..728d416f 100644 --- a/digikam/configure.in.in +++ b/digikam/configure.in.in @@ -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] ) diff --git a/digikam/kioslave/sqlitedb.cpp b/digikam/kioslave/sqlitedb.cpp index 063a65d6..61eda063 100644 --- a/digikam/kioslave/sqlitedb.cpp +++ b/digikam/kioslave/sqlitedb.cpp @@ -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 |