diff options
author | Laszlo Agocs <laszlo.p.agocs@nokia.com> | 2011-05-10 08:09:44 (GMT) |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2011-05-30 15:23:25 (GMT) |
commit | 55a440589c186e389390b2fd18170768901fa618 (patch) | |
tree | 9e7f0ec5d802a4ca2a9f174240eb7e90328f5f48 /src/plugins/platforms/xlib/qxlibclipboard.h | |
parent | 1a17ab72726ba5d15396ee152c78a1aa921533a6 (diff) | |
download | Qt-55a440589c186e389390b2fd18170768901fa618.zip Qt-55a440589c186e389390b2fd18170768901fa618.tar.gz Qt-55a440589c186e389390b2fd18170768901fa618.tar.bz2 |
Remove const from QPlatformClipboard::mimeData().
Most implementations will anyway do non-const operations in there, the
change avoids the need for const_cast or mutable.
Diffstat (limited to 'src/plugins/platforms/xlib/qxlibclipboard.h')
-rw-r--r-- | src/plugins/platforms/xlib/qxlibclipboard.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/xlib/qxlibclipboard.h b/src/plugins/platforms/xlib/qxlibclipboard.h index 15901b0..d61340d 100644 --- a/src/plugins/platforms/xlib/qxlibclipboard.h +++ b/src/plugins/platforms/xlib/qxlibclipboard.h @@ -51,7 +51,7 @@ class QXlibClipboard : public QPlatformClipboard public: QXlibClipboard(QXlibScreen *screen); - const QMimeData *mimeData(QClipboard::Mode mode) const; + QMimeData *mimeData(QClipboard::Mode mode); void setMimeData(QMimeData *data, QClipboard::Mode mode); bool supportsMode(QClipboard::Mode mode) const; |