diff options
Diffstat (limited to 'src/pixmapviewer.h')
| -rw-r--r-- | src/pixmapviewer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pixmapviewer.h b/src/pixmapviewer.h index 26e520aab..c15750bb7 100644 --- a/src/pixmapviewer.h +++ b/src/pixmapviewer.h @@ -64,7 +64,7 @@ public: virtual ~PixmapViewer(); void setPixmap(const QPixmap& pixmap); - const QPixmap& pixmap() const; + QPixmap pixmap() const; /** * Sets the size hint to \a size and triggers a relayout @@ -89,7 +89,7 @@ private: QSize m_sizeHint; }; -inline const QPixmap& PixmapViewer::pixmap() const +inline QPixmap PixmapViewer::pixmap() const { return m_pixmap; } |
