Changeset View
Changeset View
Standalone View
Standalone View
core/device.cpp
Show All 33 Lines | |||||
34 | #include "pluginloader.h" | 34 | #include "pluginloader.h" | ||
35 | #include "backends/devicelink.h" | 35 | #include "backends/devicelink.h" | ||
36 | #include "backends/lan/landevicelink.h" | 36 | #include "backends/lan/landevicelink.h" | ||
37 | #include "backends/linkprovider.h" | 37 | #include "backends/linkprovider.h" | ||
38 | #include "networkpacket.h" | 38 | #include "networkpacket.h" | ||
39 | #include "kdeconnectconfig.h" | 39 | #include "kdeconnectconfig.h" | ||
40 | #include "daemon.h" | 40 | #include "daemon.h" | ||
41 | 41 | | |||
42 | //In older Qt released, qAsConst isnt available | ||||
43 | #include "qtcompat_p.h" | ||||
44 | | ||||
nicolasfella: Does that really solve the issue? | |||||
Well .... it just defines qAsConst as nothing, so it compiles. in reality, it will mean that there are extra copies of the data created, which will be a (minor?) performance impact. Im open to other suggestions. piggz: Well .... it just defines qAsConst as nothing, so it compiles. in reality, it will mean that… | |||||
42 | class Device::DevicePrivate | 45 | class Device::DevicePrivate | ||
43 | { | 46 | { | ||
44 | public: | 47 | public: | ||
45 | DevicePrivate(const QString &id) | 48 | DevicePrivate(const QString &id) | ||
46 | : m_deviceId(id) | 49 | : m_deviceId(id) | ||
47 | { | 50 | { | ||
48 | 51 | | |||
49 | } | 52 | } | ||
▲ Show 20 Lines • Show All 497 Lines • Show Last 20 Lines |
Does that really solve the issue?