Commit 3bcc7f3b authored by Claudio Valerio's avatar Claudio Valerio

fixed path problem

parent c37b2c60
......@@ -47,7 +47,7 @@ UBLibraryController::UBLibraryController(QWidget *pParentWidget, UBBoardControll
userPath(mPicturesStandardDirectoryPath);
mInteractiveUserDirectoryPath = QUrl::fromLocalFile(UBSettings::settings()->uniboardInteractiveUserDirectory());
createInternalWidgetItems();
}
......@@ -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("."))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment