We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be45ebd commit 1d2f8f8Copy full SHA for 1d2f8f8
src/imagewidget.cpp
@@ -53,7 +53,7 @@ ImageWidget::~ImageWidget()
53
/*!
54
* \see ImageWidget::pixmap
55
*/
56
-const QPixmap &ImageWidget::getPixmap() const
+QPixmap ImageWidget::getPixmap() const
57
{
58
return icon.pixmap(pxSize, QIcon::Normal, QIcon::Off);
59
}
src/imagewidget.h
@@ -38,7 +38,7 @@ class LONGSCROLLQT_EXPORT ImageWidget : public QFrame
38
39
public:
40
Q_PROPERTY(QPixmap pixmap READ getPixmap WRITE setPixmap)
41
- QPixmap const & getPixmap() const;
+ QPixmap getPixmap() const;
42
Q_PROPERTY(bool fit READ getFit WRITE setFit)
43
bool getFit() const;
44
Q_PROPERTY(bool selected READ isSelected WRITE setSelected)
0 commit comments