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:
84c3884
)
QImage stream operator is optional [ci reset]
author
Ivailo Monev
<xakepa10@gmail.com>
Sat, 18 Dec 2021 11:15:16 +0000
(13:15 +0200)
committer
Ivailo Monev
<xakepa10@gmail.com>
Sat, 18 Dec 2021 11:15:23 +0000
(13:15 +0200)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
src/gui/image/qimage.h
patch
|
blob
|
history
diff --git
a/src/gui/image/qimage.h
b/src/gui/image/qimage.h
index
5e670d2
..
2418107
100644
(file)
--- a/
src/gui/image/qimage.h
+++ b/
src/gui/image/qimage.h
@@
-213,7
+213,9
@@
private:
friend class QX11AlphaDetector;
friend class QSpanData;
friend class QPngHandler;
+#if !defined(QT_NO_DATASTREAM)
friend Q_GUI_EXPORT QDataStream &operator>>(QDataStream &, QImage &);
+#endif
};
Q_DECLARE_TYPEINFO(QImage, Q_MOVABLE_TYPE);