mirror of
https://github.com/creyD/intelliphoto.git
synced 2026-04-14 04:10:31 +02:00
Merge branch 'Dev' into 'MuckeMachtSachen'
# Conflicts: # IntelliPhoto/Painting/GUI/IntelliPhotoGui.h # IntelliPhoto/Painting/Image/IntelliShapedImage.cpp # IntelliPhoto/Painting/IntelliPhoto.pro.user # IntelliPhoto/Painting/Layer/PaintingArea.cpp # IntelliPhoto/Painting/Layer/PaintingArea.h
This commit is contained in:
@@ -12,7 +12,7 @@ IntelliShapedImage::~IntelliShapedImage(){
|
||||
|
||||
}
|
||||
|
||||
QImage IntelliShapedImage::getDisplayable(int alpha){
|
||||
QImage IntelliShapedImage::getDisplayable(){
|
||||
return getDisplayable(imageData.size());
|
||||
}
|
||||
|
||||
@@ -49,10 +49,6 @@ QImage IntelliShapedImage::getDisplayable(const QSize& displaySize, int alpha){
|
||||
QColor tmpColor(0,0,0);
|
||||
tmpColor.setAlpha(0);
|
||||
copy.setPixelColor(startPoint,tmpColor);
|
||||
}else{
|
||||
QColor clr = copy.pixelColor(x,y);
|
||||
clr.setAlpha(alpha);
|
||||
copy.setPixelColor(x,y,clr);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user