[Digikam-devel] problems with digikam3.db into a nefs partition

Arnd Baecker arnd.baecker at web.de
Thu Mar 8 13:15:04 GMT 2007


On Thu, 8 Mar 2007, Fabien wrote:

> Arnd Baecker wrote:
[...]
> > However, I would not know how to separate the
> > location of the "Album Path"/digikam3.db and the
> > "Album Path"/ImageFolders.
> > This looks like a more invasive change ...
>
>
> Well, I don't think so (I hope). Look here :
> <http://bugs.kde.org/show_bug.cgi?id=137694#c5>
>
> Only 3 files refer to this :
> <<
> digikam/albummanager.cpp:    QString dbPath = cleanPath + "/digikam3.db";
> digikam/upgradedb_sqlite2tosqlite3.cpp:    QString newDB= libraryPath +
> "/digikam3.db";
> kioslave/sqlitedb.cpp:    QString dbPath = directory + "/digikam3.db";
>  >>
>
> I already tried to hardcode another path and it worked perfectly...

Hmm, but in all these three cases the directories
`cleanPath`, `libraryPath` and `directory` are given
as argument to the function in which they are used.
Therefore one has to track down first, where these functions
are invoked...

Arnd



More information about the Digikam-devel mailing list