From 761cdbe62668c8b1ca2480aff70ccebab2bc99b0 Mon Sep 17 00:00:00 2001 From: Claudio Valerio Date: Fri, 6 May 2011 09:19:16 +0200 Subject: [PATCH] Fixed internal widget path --- src/board/UBLibraryController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/board/UBLibraryController.cpp b/src/board/UBLibraryController.cpp index 5cd94b91..6d87190a 100644 --- a/src/board/UBLibraryController.cpp +++ b/src/board/UBLibraryController.cpp @@ -321,7 +321,7 @@ QImage* UBLibraryController::thumbnailForFile(UBLibElement* pElement) QList UBLibraryController::addVirtualElementsForItemPath(const QString& pPath) { QList content; - if (pPath == mInteractiveCategoryPath.toString()) + if (pPath == mInteractiveUserDirectoryPath.toLocalFile()) content << mInternalLibElements; else if (pPath == mPicturesStandardDirectoryPath.toLocalFile()){ QUrl path = QUrl::fromLocalFile(UBSettings::settings()->uniboardImageLibraryDirectory());