mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Beta version 2.8.6: Fix build for Linux.
This commit is contained in:
parent
bdd1d2484c
commit
3cdd115317
4 changed files with 4 additions and 4 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Reference in a new issue