mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Beta version 2.8.6: Fix build for Linux.
This commit is contained in:
@@ -39,7 +39,7 @@ protected:
|
||||
private:
|
||||
struct InfoAtDown {
|
||||
QRectF rect;
|
||||
Qt::Edges edge = 0;
|
||||
Qt::Edges edge;
|
||||
QPoint point;
|
||||
float64 cropRatio = 0.;
|
||||
|
||||
|
||||
@@ -88,7 +88,7 @@ PhotoEditorContent::PhotoEditorContent(
|
||||
|
||||
p.fillRect(clip, Qt::transparent);
|
||||
|
||||
p.setMatrix(_imageMatrix);
|
||||
p.setTransform(_imageMatrix);
|
||||
|
||||
p.drawPixmap(
|
||||
_imageRect,
|
||||
|
||||
@@ -47,7 +47,7 @@ private:
|
||||
rpl::event_stream<int> _keyPresses;
|
||||
|
||||
QRect _imageRect;
|
||||
QMatrix _imageMatrix;
|
||||
QTransform _imageMatrix;
|
||||
PhotoEditorMode _mode;
|
||||
|
||||
};
|
||||
|
||||
@@ -78,7 +78,7 @@ std::vector<QPointF> InterpolatedPoints(
|
||||
} // namespace
|
||||
|
||||
ItemCanvas::ItemCanvas() {
|
||||
setAcceptedMouseButtons(0);
|
||||
setAcceptedMouseButtons({});
|
||||
}
|
||||
|
||||
void ItemCanvas::clearPixmap() {
|
||||
|
||||
Reference in New Issue
Block a user