Beta version 2.8.6: Fix build for Linux.

This commit is contained in:
John Preston 2021-07-07 00:54:56 +03:00
parent bdd1d2484c
commit 3cdd115317
4 changed files with 4 additions and 4 deletions

View File

@ -39,7 +39,7 @@ protected:
private:
struct InfoAtDown {
QRectF rect;
Qt::Edges edge = 0;
Qt::Edges edge;
QPoint point;
float64 cropRatio = 0.;

View File

@ -88,7 +88,7 @@ PhotoEditorContent::PhotoEditorContent(
p.fillRect(clip, Qt::transparent);
p.setMatrix(_imageMatrix);
p.setTransform(_imageMatrix);
p.drawPixmap(
_imageRect,

View File

@ -47,7 +47,7 @@ private:
rpl::event_stream<int> _keyPresses;
QRect _imageRect;
QMatrix _imageMatrix;
QTransform _imageMatrix;
PhotoEditorMode _mode;
};

View File

@ -78,7 +78,7 @@ std::vector<QPointF> InterpolatedPoints(
} // namespace
ItemCanvas::ItemCanvas() {
setAcceptedMouseButtons(0);
setAcceptedMouseButtons({});
}
void ItemCanvas::clearPixmap() {