mirror of
https://github.com/riuson/lcd-image-converter.git
synced 2026-03-24 00:46:59 +01:00
Default image for new EditorTabImage
This commit is contained in:
@@ -39,6 +39,10 @@ ImageDocument::ImageDocument(QObject *parent) :
|
||||
this->mContainer = new DataContainer(this);
|
||||
this->connect(this->mContainer, SIGNAL(imagesChanged()), SLOT(mon_container_imagesChanged()));
|
||||
|
||||
QImage *image = new QImage(":/images/template");
|
||||
this->mContainer->setImage(ImageDocument::DefaultKey, image);
|
||||
delete image;
|
||||
|
||||
this->setDocumentName(tr("Image", "new image name"));
|
||||
this->setDocumentFilename("");
|
||||
this->setOutputFilename("");
|
||||
|
||||
Reference in New Issue
Block a user