|
|
@ -324,16 +324,17 @@ QList<UBLibElement*> UBLibraryController::addVirtualElementsForItemPath(const QS |
|
|
|
if (pPath == mInteractiveUserDirectoryPath.toLocalFile()){ |
|
|
|
if (pPath == mInteractiveUserDirectoryPath.toLocalFile()){ |
|
|
|
content << mInternalLibElements; |
|
|
|
content << mInternalLibElements; |
|
|
|
content << listElementsInPath(UBSettings::settings()->uniboardInteractiveLibraryDirectory()); |
|
|
|
content << listElementsInPath(UBSettings::settings()->uniboardInteractiveLibraryDirectory()); |
|
|
|
|
|
|
|
content << listElementsInPath(UBSettings::settings()->uniboardInteractiveFavoritesDirectory()); |
|
|
|
} |
|
|
|
} |
|
|
|
else if (pPath == mPicturesStandardDirectoryPath.toLocalFile()){ |
|
|
|
else if (pPath == mPicturesStandardDirectoryPath.toLocalFile()){ |
|
|
|
QUrl path = QUrl::fromLocalFile(UBSettings::settings()->uniboardImageLibraryDirectory()); |
|
|
|
QUrl path = QUrl::fromLocalFile(UBSettings::settings()->uniboardImageLibraryDirectory()); |
|
|
|
userPath(path); |
|
|
|
userPath(path); |
|
|
|
content << listElementsInPath(path.toLocalFile()); |
|
|
|
content << listElementsInPath(path.toLocalFile()); |
|
|
|
} |
|
|
|
} |
|
|
|
else if (pPath == mInteractiveUserDirectoryPath.toLocalFile()){ |
|
|
|
/* else if (pPath == mInteractiveUserDirectoryPath.toLocalFile()){
|
|
|
|
content << listElementsInPath(UBSettings::settings()->uniboardInteractiveLibraryDirectory()); |
|
|
|
content << listElementsInPath(UBSettings::settings()->uniboardInteractiveLibraryDirectory()); |
|
|
|
content << listElementsInPath(UBSettings::settings()->uniboardInteractiveFavoritesDirectory()); |
|
|
|
content << listElementsInPath(UBSettings::settings()->uniboardInteractiveFavoritesDirectory()); |
|
|
|
} |
|
|
|
}*/ |
|
|
|
|
|
|
|
|
|
|
|
return content; |
|
|
|
return content; |
|
|
|
} |
|
|
|
} |
|
|
|