kwin/plugins/platforms/virtual
Vlad Zagorodniy c44788889c [platforms/virtual] Make VirtualOutput non-copyable
Summary:
Qt objects are treated as identities so remove the copy constructor and
an assignment operator. See, http://doc.qt.io/qt-5/object.html#identity-vs-value

IIRC some Qt objects(like QImage) have copy constructor for implicit data sharing,
but VirtualOutput doesn't have anything to share.

Also, it [this patch] fixes a compiler warning:

```
/home/vlad/KDE/src/kde/workspace/kwin/plugins/platforms/virtual/virtual_output.cpp: In copy constructor ‘KWin::VirtualOutput::VirtualOutput(const KWin::VirtualOutput&)’:
/home/vlad/KDE/src/kde/workspace/kwin/plugins/platforms/virtual/virtual_output.cpp:30:1: warning: base class ‘class QObject’ should be explicitly initialized in the copy constructor [-Wextra]
 VirtualOutput::VirtualOutput(const VirtualOutput &o)
 ^~~~~~~~~~~~~
```

Reviewers: #kwin, romangg

Reviewed By: #kwin, romangg

Subscribers: michaelh, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D12214
2018-04-16 02:48:48 +03:00
..
CMakeLists.txt [platforms/virtual] Add virtual output class 2018-03-19 22:12:22 +01:00
egl_gbm_backend.cpp check for EGL_KHR_platform_gbm extension as well 2018-02-15 19:33:06 +01:00
egl_gbm_backend.h Move SceneOpenGL into a dedicated plugin 2017-09-30 13:12:10 +02:00
scene_qpainter_virtual_backend.cpp Add scaling to virtual backend 2017-03-29 20:53:22 +01:00
scene_qpainter_virtual_backend.h Move QPainter compositor into plugin 2017-09-01 17:44:49 +02:00
screens_virtual.cpp [platforms/virtual] Store virtual outputs per reference 2018-03-22 16:03:16 +01:00
screens_virtual.h [platforms/virtual] Add virtual output class 2018-03-19 22:12:22 +01:00
virtual.json SVN_SILENT made messages (.desktop file) - always resolve ours 2017-12-13 07:01:42 +01:00
virtual_backend.cpp [platforms/virtual] Store virtual outputs per reference 2018-03-22 16:03:16 +01:00
virtual_backend.h [platforms/virtual] Store virtual outputs per reference 2018-03-22 16:03:16 +01:00
virtual_output.cpp [platforms/virtual] Make VirtualOutput non-copyable 2018-04-16 02:48:48 +03:00
virtual_output.h [platforms/virtual] Make VirtualOutput non-copyable 2018-04-16 02:48:48 +03:00