forked from qt-creator/qt-creator
De-Q_OBJECT-ify most DeviceFactories
WinRt is the odd one out. Some were using setObjectName, but only used for debug reasons, not really needed. Change-Id: I4a370e4694443bc1c455fda4337ef3acfb9259b8 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -27,12 +27,10 @@
|
||||
|
||||
#include <projectexplorer/devicesupport/desktopdevice.h>
|
||||
|
||||
#include <QCoreApplication>
|
||||
|
||||
namespace WebAssembly {
|
||||
namespace Internal {
|
||||
|
||||
class WebAssemblyDevice : public ProjectExplorer::DesktopDevice
|
||||
class WebAssemblyDevice final : public ProjectExplorer::DesktopDevice
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(WebAssembly::Internal::WebAssemblyDevice)
|
||||
|
||||
@@ -43,10 +41,8 @@ private:
|
||||
WebAssemblyDevice();
|
||||
};
|
||||
|
||||
class WebAssemblyDeviceFactory : public ProjectExplorer::IDeviceFactory
|
||||
class WebAssemblyDeviceFactory final : public ProjectExplorer::IDeviceFactory
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
WebAssemblyDeviceFactory();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user