Skip to content

Commit 1d2f8f8

Browse files
committed
Bugfix
1 parent be45ebd commit 1d2f8f8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/imagewidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ ImageWidget::~ImageWidget()
5353
/*!
5454
* \see ImageWidget::pixmap
5555
*/
56-
const QPixmap &ImageWidget::getPixmap() const
56+
QPixmap ImageWidget::getPixmap() const
5757
{
5858
return icon.pixmap(pxSize, QIcon::Normal, QIcon::Off);
5959
}

src/imagewidget.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class LONGSCROLLQT_EXPORT ImageWidget : public QFrame
3838

3939
public:
4040
Q_PROPERTY(QPixmap pixmap READ getPixmap WRITE setPixmap)
41-
QPixmap const & getPixmap() const;
41+
QPixmap getPixmap() const;
4242
Q_PROPERTY(bool fit READ getFit WRITE setFit)
4343
bool getFit() const;
4444
Q_PROPERTY(bool selected READ isSelected WRITE setSelected)

0 commit comments

Comments
 (0)