diff options
Diffstat (limited to 'pictureviewer.h')
-rw-r--r-- | pictureviewer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pictureviewer.h b/pictureviewer.h index 83c43d3..d4fba4c 100644 --- a/pictureviewer.h +++ b/pictureviewer.h @@ -31,7 +31,7 @@ class PictureViewer : public QGraphicsView { void wheelEvent(QWheelEvent *event); private: - void setGradient(); + void setGradient(const QImage &img); void setDir(const QString &path); bool isPic(const QString &path); QPointF center(const QPixmap &pic); |