|
|
|
@ -321,8 +321,10 @@ QImage* UBLibraryController::thumbnailForFile(UBLibElement* pElement) |
|
|
|
|
QList<UBLibElement*> UBLibraryController::addVirtualElementsForItemPath(const QString& pPath) |
|
|
|
|
{ |
|
|
|
|
QList<UBLibElement*> content; |
|
|
|
|
if (pPath == mInteractiveUserDirectoryPath.toLocalFile()) |
|
|
|
|
if (pPath == mInteractiveUserDirectoryPath.toLocalFile()){ |
|
|
|
|
content << mInternalLibElements; |
|
|
|
|
content << listElementsInPath(UBSettings::settings()->uniboardInteractiveLibraryDirectory()); |
|
|
|
|
} |
|
|
|
|
else if (pPath == mPicturesStandardDirectoryPath.toLocalFile()){ |
|
|
|
|
QUrl path = QUrl::fromLocalFile(UBSettings::settings()->uniboardImageLibraryDirectory()); |
|
|
|
|
userPath(path); |
|
|
|
|