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