kwin/plugins/platforms
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
..
drm drm backend: choose correct EGL config with mesa-18 2018-04-05 01:29:17 +03:00
fbdev SVN_SILENT made messages (.desktop file) - always resolve ours 2017-12-13 07:01:42 +01:00
hwcomposer SVN_SILENT made messages (.desktop file) - always resolve ours 2017-12-13 07:01:42 +01:00
virtual [platforms/virtual] Make VirtualOutput non-copyable 2018-04-16 02:48:48 +03:00
wayland SVN_SILENT made messages (.desktop file) - always resolve ours 2017-12-13 07:01:42 +01:00
x11 [x11] Fix interactive point selection 2018-02-05 21:21:27 +01:00
CMakeLists.txt Require libinput and udev 2018-02-04 15:00:42 +01:00