Merge branch 'master' of github.com:Sankore/Sankore-3.1

preferencesAboutTextFull
shibakaneki 13 years ago
commit 79c425b91c
  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()));
return image;
}
if (pElement->type() == eUBLibElementType_InteractiveItem){
QImage* image = new QImage(UBAbstractWidget::iconFilePath(pElement->path()));
return image;
}
QString thumbnailPath = UBFileSystemUtils::thumbnailPath(pElement->path().toLocalFile());
if (!thumbnailPath.length())

Loading…
Cancel
Save