mirror of
https://github.com/creyD/intelliphoto.git
synced 2026-04-16 21:30:31 +02:00
Fixed a bug where the index variable rename went wrong
This commit is contained in:
@@ -119,7 +119,7 @@ bool PaintingArea::save(const QString &filePath, const char*fileFormat){
|
|||||||
this->drawLayers(true);
|
this->drawLayers(true);
|
||||||
|
|
||||||
if(!strcmp(fileFormat,"PNG")) {
|
if(!strcmp(fileFormat,"PNG")) {
|
||||||
QImage visibleImage = Canvas->convertToFormat(QImage::Format_idxed8);
|
QImage visibleImage = Canvas->convertToFormat(QImage::Format_Indexed8);
|
||||||
fileFormat = "png";
|
fileFormat = "png";
|
||||||
if (visibleImage.save(filePath, fileFormat)) {
|
if (visibleImage.save(filePath, fileFormat)) {
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user