fixed path problem

preferencesAboutTextFull
Claudio Valerio 14 years ago
parent c37b2c606f
commit 3bcc7f3b5f
  1. 2
      src/board/UBLibraryController.cpp
  2. 2
      src/core/UBSettings.cpp

@ -295,7 +295,7 @@ QList<UBLibElement*> UBLibraryController::addVirtualElementsForItemPath(const QS
QUrl path = QUrl::fromLocalFile(UBSettings::settings()->uniboardImageLibraryDirectory());
userPath(path);
content << listElementsInPath(path.toLocalFile());
content << listElementsInPath(UBSettings::settings()->uniboardDefaultUserImageLibraryDirectory());
content << listElementsInPath(UBSettings::settings()->uniboardDefaultUserImageLibraryDirectory());
}
else if (pPath == mInteractiveCategoryPath.toLocalFile()){
content << listElementsInPath(UBSettings::settings()->sankoreDistributedInteractiveDirectory());

@ -1113,7 +1113,7 @@ QString UBSettings::sankoreDistributedInteractiveDirectory()
{
QString defaultRelativePath = QString("./library/sankoreInteractivities");
QString configPath = value("Library/DefaultUserImageDirectory", QVariant(defaultRelativePath)).toString();
QString configPath = value("Library/sankoreInteractivities", QVariant(defaultRelativePath)).toString();
if (configPath.startsWith("."))
{

Loading…
Cancel
Save