OSDN Git Service
(root)
/
kde
/
Katie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c09c55c
)
introduce const DataPtr getter for QPixmap
author
Ivailo Monev
<xakepa10@laimg.moc>
Thu, 27 Jun 2019 00:48:10 +0000
(
00:48
+0000)
committer
Ivailo Monev
<xakepa10@laimg.moc>
Thu, 27 Jun 2019 00:48:10 +0000
(
00:48
+0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
src/gui/image/qpixmap.h
patch
|
blob
|
history
diff --git
a/src/gui/image/qpixmap.h
b/src/gui/image/qpixmap.h
index
18332e7
..
921e8a6
100644
(file)
--- a/
src/gui/image/qpixmap.h
+++ b/
src/gui/image/qpixmap.h
@@
-193,6
+193,7
@@
public:
public:
typedef QExplicitlySharedDataPointer<QPixmapData> DataPtr;
inline DataPtr &data_ptr() { return data; }
+ inline const DataPtr &data_ptr() const { return data; }
};
Q_DECLARE_SHARED(QPixmap)