Fixed internal widget path

preferencesAboutTextFull
Claudio Valerio 14 years ago
parent 4eab7b7881
commit 761cdbe626
  1. 2
      src/board/UBLibraryController.cpp

@ -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());

Loading…
Cancel
Save