[Digikam-devel] [digikam] [Bug 123097] SCAN : ignore some directories in digiKam [patch]

Jan Wolter via KDE Bugzilla bugzilla_noreply at kde.org
Thu Oct 15 18:44:28 BST 2015


https://bugs.kde.org/show_bug.cgi?id=123097

--- Comment #17 from Jan Wolter <jan.wolter at upb.de> ---
Hello Gilles,
I have extended the setupdatabase and it is possible to add directory names
that should be ignored. The settings are correctly stored in the digikamrc
config file.

But now I have a problem when I try to access the settings in the collection
scanner. There I include applicationsettings.h and want to access the settings
by the following command:
QString ignoredDirectories =
ApplicationSettings::instance()->getIgnoredDirectories();

I get the following error:
CMakeFiles/digikamdatabase.dir/__/libs/database/collectionscanner.cpp.o: In
function `Digikam::CollectionScanner::CollectionScanner()':
/home/jan/Downloads/digikamGIT/core/libs/database/collectionscanner.cpp:376:
undefined reference to `Digikam::ApplicationSettings::instance()'
/home/jan/Downloads/digikamGIT/core/libs/database/collectionscanner.cpp:376:
undefined reference to `Digikam::ApplicationSettings::getIgnoredDirectories()
const'
collect2: error: ld returned 1 exit status

Could you give me hint, what I make wrong?

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list