[Digikam-users] undo/redo in editor is not working in digikam 3.4

Gilles Caulier caulier.gilles at gmail.com
Sun Sep 22 19:33:14 BST 2013


I will be more precise here.

In code we use KStandardDir::localeLocal('cache",...) to get temprary
dir to store uno/redo files :

https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/utilities/imageeditor/core/undocache.cpp#L69

KStandardDir has no way to check free-space :

http://www.purinchu.net/kdelibs-apidocs/kdecore/html/classKStandardDirs.html

But i remember that we have already a method in Import Tool to show
free space from camera and collection. KDiskFreeSpaceInfo must do the
stuff :

http://api.kde.org/4.x-api/kdelibs-apidocs/kio/html/kdiskfreespaceinfo_8h.html

Gilles



More information about the Digikam-users mailing list