one more fix for locating the lensfun db in bundle mode

This commit is contained in:
Alberto Griggio
2017-09-17 16:45:54 +02:00
parent 6d453dbd34
commit 6f7ca3f5ec
3 changed files with 7 additions and 12 deletions

View File

@@ -49,8 +49,6 @@ Options options;
Glib::ustring versionString = RTVERSION;
Glib::ustring paramFileExtension = ".pp3";
extern Glib::ustring lensfunDbPath; // defined in main
Options::Options ()
{
@@ -729,8 +727,7 @@ void Options::setDefaults ()
lastLensProfileDir = "";
gimpPluginShowInfoDialog = true;
maxRecentFolders = 15;
rtSettings.lensfunDbDirectory = lensfunDbPath;
rtSettings.lensfunDbDirectory = ""; // set also in main.cc and main-cli.cc
}
Options* Options::copyFrom (Options* other)