Change default to not include the icon file to the file thumbnail on save.
Windows renders the application image on top so it appears twice. Update example file thumbnails on start page to have a consistent background (classic theme) and remove the old FreeCAD logos.
This commit is contained in:
@@ -100,7 +100,7 @@ void Thumbnail::SaveDocFile (Base::Writer &writer) const
|
||||
if (!img.isNull()) {
|
||||
// Create a small "Fc" Application icon in the bottom right of the thumbnail
|
||||
if (App::GetApplication().GetParameterGroupByPath
|
||||
("User parameter:BaseApp/Preferences/Document")->GetBool("AddThumbnailLogo",true)) {
|
||||
("User parameter:BaseApp/Preferences/Document")->GetBool("AddThumbnailLogo",false)) {
|
||||
// only scale app icon if an offscreen image could be created
|
||||
appIcon = appIcon.scaled(this->size / 4, this->size /4, Qt::KeepAspectRatio, Qt::SmoothTransformation);
|
||||
px = BitmapFactory().merge(QPixmap::fromImage(img), appIcon, BitmapFactoryInst::BottomRight);
|
||||
|
||||
Reference in New Issue
Block a user