Resolved issue Sankore 54

preferencesAboutTextFull
Isa Kindov 14 years ago
parent d21d046158
commit b4aecd8c57
  1. 5
      src/board/UBLibraryController.cpp

@ -267,6 +267,11 @@ QImage* UBLibraryController::thumbnailForFile(UBLibElement* pElement)
QImage* image = new QImage(UBToolsManager::manager()->iconFromToolId(pElement->path().toString())); QImage* image = new QImage(UBToolsManager::manager()->iconFromToolId(pElement->path().toString()));
return image; return image;
} }
if (pElement->type() == eUBLibElementType_InteractiveItem){
QImage* image = new QImage(UBAbstractWidget::iconFilePath(pElement->path()));
return image;
}
QString thumbnailPath = UBFileSystemUtils::thumbnailPath(pElement->path().toLocalFile()); QString thumbnailPath = UBFileSystemUtils::thumbnailPath(pElement->path().toLocalFile());
if (!thumbnailPath.length()) if (!thumbnailPath.length())

Loading…
Cancel
Save