Remove unnecessary inheritance on QThread.

This commit is contained in:
John Maguire 2013-01-14 17:23:06 +01:00
parent 408909ffa2
commit 3dd1f10260
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ const quint16 NetworkRemote::kDefaultServerPort = 5500;
const int NetworkRemote::kProtocolBufferVersion = 1;
NetworkRemote::NetworkRemote(Application* app, QObject* parent)
: QThread(parent),
: QObject(parent),
signals_connected_(false),
app_(app) {
}

View File

@ -12,7 +12,7 @@
#include "outgoingdatacreator.h"
#include "remoteclient.h"
class NetworkRemote : public QThread {
class NetworkRemote : public QObject {
Q_OBJECT
public:
static const char* kSettingsGroup;