|
|
@ -24,6 +24,7 @@ |
|
|
|
#include "UBBoardController.h" |
|
|
|
#include "UBBoardController.h" |
|
|
|
|
|
|
|
|
|
|
|
#include "gui/UBThumbnailWidget.h" |
|
|
|
#include "gui/UBThumbnailWidget.h" |
|
|
|
|
|
|
|
#include "../core/UBSettings.h" |
|
|
|
|
|
|
|
|
|
|
|
static quint32 magicNumber = 0xACDCAFE0; |
|
|
|
static quint32 magicNumber = 0xACDCAFE0; |
|
|
|
static QString favoriteVirtualPath = "$favorite$"; |
|
|
|
static QString favoriteVirtualPath = "$favorite$"; |
|
|
@ -289,6 +290,7 @@ QList<UBLibElement*> UBLibraryController::addVirtualElementsForItemPath(const QS |
|
|
|
QUrl path = QUrl::fromLocalFile(UBSettings::settings()->uniboardImageLibraryDirectory()); |
|
|
|
QUrl path = QUrl::fromLocalFile(UBSettings::settings()->uniboardImageLibraryDirectory()); |
|
|
|
userPath(path); |
|
|
|
userPath(path); |
|
|
|
content << listElementsInPath(path.toLocalFile()); |
|
|
|
content << listElementsInPath(path.toLocalFile()); |
|
|
|
|
|
|
|
content << listElementsInPath(UBSettings::settings()->uniboardDefaultUserImageLibraryDirectory());
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return content; |
|
|
|
return content; |
|
|
|