macOS fixes (#15)

- Improve build instructions.
- Fix fullscreen image sizing.
- Remove horizontal overscroll of RoomInfoListItem.
This commit is contained in:
Matthew Hodgson 2017-05-04 11:11:04 +01:00 committed by mujx
parent fb76118309
commit 9cc9b623eb
4 changed files with 26 additions and 12 deletions

View file

@ -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_;