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:
@@ -49,8 +49,6 @@
|
||||
#include <utils/port.h>
|
||||
#include <utils/qtcassert.h>
|
||||
|
||||
#include <QTimer>
|
||||
|
||||
using namespace ProjectExplorer;
|
||||
using namespace Utils;
|
||||
|
||||
@@ -299,7 +297,7 @@ namespace Internal {
|
||||
LinuxDeviceFactory::LinuxDeviceFactory()
|
||||
: IDeviceFactory(Constants::GenericLinuxOsType)
|
||||
{
|
||||
setDisplayName(tr("Generic Linux Device"));
|
||||
setDisplayName(LinuxDevice::tr("Generic Linux Device"));
|
||||
setIcon(QIcon());
|
||||
setCanCreate(true);
|
||||
setConstructionFunction(&LinuxDevice::create);
|
||||
|
||||
Reference in New Issue
Block a user