mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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:
|
private:
|
||||||
struct InfoAtDown {
|
struct InfoAtDown {
|
||||||
QRectF rect;
|
QRectF rect;
|
||||||
Qt::Edges edge = 0;
|
Qt::Edges edge;
|
||||||
QPoint point;
|
QPoint point;
|
||||||
float64 cropRatio = 0.;
|
float64 cropRatio = 0.;
|
||||||
|
|
||||||
|
|
|
@ -88,7 +88,7 @@ PhotoEditorContent::PhotoEditorContent(
|
||||||
|
|
||||||
p.fillRect(clip, Qt::transparent);
|
p.fillRect(clip, Qt::transparent);
|
||||||
|
|
||||||
p.setMatrix(_imageMatrix);
|
p.setTransform(_imageMatrix);
|
||||||
|
|
||||||
p.drawPixmap(
|
p.drawPixmap(
|
||||||
_imageRect,
|
_imageRect,
|
||||||
|
|
|
@ -47,7 +47,7 @@ private:
|
||||||
rpl::event_stream<int> _keyPresses;
|
rpl::event_stream<int> _keyPresses;
|
||||||
|
|
||||||
QRect _imageRect;
|
QRect _imageRect;
|
||||||
QMatrix _imageMatrix;
|
QTransform _imageMatrix;
|
||||||
PhotoEditorMode _mode;
|
PhotoEditorMode _mode;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -78,7 +78,7 @@ std::vector<QPointF> InterpolatedPoints(
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
ItemCanvas::ItemCanvas() {
|
ItemCanvas::ItemCanvas() {
|
||||||
setAcceptedMouseButtons(0);
|
setAcceptedMouseButtons({});
|
||||||
}
|
}
|
||||||
|
|
||||||
void ItemCanvas::clearPixmap() {
|
void ItemCanvas::clearPixmap() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue