Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
Fix Photobash Crash
Pedro Reisd57cada4d081
diff --git a/plugins/python/photobash_images/photobash_images_docker.py b/plugins/python/photobash_images/photobash_images_docker.pyindex de1cab3dcb..fb424fb795 100644--- a/plugins/python/photobash_images/photobash_images_docker.py+++ b/plugins/python/photobash_images/photobash_images_docker.py@@ -344,11 +344,11 @@ class PhotobashDocker(DockWidget):# Scale Imageif self.fitCanvasChecked:- image = QImage(photoPath).scaled(doc.width() * scale, doc.height() * scale, Qt.KeepAspectRatio, Qt.SmoothTransformation)+ image = QImage(photoPath).scaled(int(doc.width() * scale), int(doc.height() * scale), Qt.KeepAspectRatio, Qt.SmoothTransformation)else:image = QImage(photoPath)# scale image- image = image.scaled(image.width() * scale, image.height() * scale, Qt.KeepAspectRatio, Qt.SmoothTransformation)+ image = image.scaled(int(image.width() * scale), int(image.height() * scale), Qt.KeepAspectRatio, Qt.SmoothTransformation)# MimeDatamimedata = QMimeData()