Commit 761cdbe6 authored by Claudio Valerio's avatar Claudio Valerio

Fixed internal widget path

parent 4eab7b78
...@@ -321,7 +321,7 @@ QImage* UBLibraryController::thumbnailForFile(UBLibElement* pElement) ...@@ -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());
......
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