macOS fixes (#15)
- Improve build instructions. - Fix fullscreen image sizing. - Remove horizontal overscroll of RoomInfoListItem.
This commit is contained in:
parent
fb76118309
commit
9cc9b623eb
4 changed files with 26 additions and 12 deletions
|
|
@ -28,6 +28,8 @@ class ImageOverlayDialog : public QDialog
|
|||
public:
|
||||
ImageOverlayDialog(QPixmap image, QWidget *parent = nullptr);
|
||||
|
||||
void reject() override;
|
||||
|
||||
protected:
|
||||
void mousePressEvent(QMouseEvent *event) override;
|
||||
void paintEvent(QPaintEvent *event) override;
|
||||
|
|
@ -41,6 +43,7 @@ private slots:
|
|||
private:
|
||||
void scaleImage(int width, int height);
|
||||
|
||||
QPixmap originalImage_;
|
||||
QPixmap image_;
|
||||
|
||||
QRect content_;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue