diff options
author | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-07-23 11:02:41 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-07-23 09:42:05 +0000 |
commit | 3627d8b171379e4f0d3b52d33fcce4767282f1d9 (patch) | |
tree | a04373ceafaf5fdee7712e240bca6dd8b80509ed /src/plugins/platforms/windows/qwindowsinternalmimedata.h | |
parent | a09b41bc9fc2bc6c837057f303fd82b19c6f5413 (diff) |
Windows/QClipboard: Fix crash in debug output of QMimeData.
Rewrite QDebug operator<<(QDebug d, const QMimeData &mimeData)
to take a pointer and handle 0 values. Change the formatting to the style
commonly used in Qt. Make it static as it is not used anywhere else.
Task-number: QTBUG-47393
Change-Id: I78174e10b75769bf4acd33a894acc0a51e525c39
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'src/plugins/platforms/windows/qwindowsinternalmimedata.h')
-rw-r--r-- | src/plugins/platforms/windows/qwindowsinternalmimedata.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/platforms/windows/qwindowsinternalmimedata.h b/src/plugins/platforms/windows/qwindowsinternalmimedata.h index 09ab417268..6a60a9676a 100644 --- a/src/plugins/platforms/windows/qwindowsinternalmimedata.h +++ b/src/plugins/platforms/windows/qwindowsinternalmimedata.h @@ -55,8 +55,6 @@ protected: virtual void releaseDataObject(IDataObject *) const {} }; -QDebug operator<<(QDebug d, const QMimeData &m); - QT_END_NAMESPACE #endif // QWINDOWSINTERNALMIME_H |