diff options
| author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2025-01-08 16:49:26 +0100 |
|---|---|---|
| committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2025-01-23 14:14:24 +0100 |
| commit | 517dcbf42e09fe39d9bb77db3027fe7b90ddc9d2 (patch) | |
| tree | 83e64fe838cb246b03d839cf6d32707d4309f55a /src/gui/platform/unix/qdesktopunixservices.cpp | |
| parent | 20b07bfa305153b8d828e133bb7dda838c2166c6 (diff) | |
QOpenGLEngineSharedShaders: disable copy/moves
The class manages resources via raw pointers, and as such it's certainly
not copiable. Explicitly disallow such copies. (It might be made
movable, but no-one needs to move it, so I'm disabling moves as well.)
This fixes warnings in QMetaType, which would otherwise pick up
copy/moves as the class is also marked as a Q_GADGET.
Change-Id: I983765b35304c8ab9ad42d31bcb729cfc9bfa2ac
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/gui/platform/unix/qdesktopunixservices.cpp')
0 files changed, 0 insertions, 0 deletions
