mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-30 19:15:08 +01:00
Remove unnecessary inheritance on QThread.
This commit is contained in:
parent
408909ffa2
commit
3dd1f10260
@ -29,7 +29,7 @@ const quint16 NetworkRemote::kDefaultServerPort = 5500;
|
|||||||
const int NetworkRemote::kProtocolBufferVersion = 1;
|
const int NetworkRemote::kProtocolBufferVersion = 1;
|
||||||
|
|
||||||
NetworkRemote::NetworkRemote(Application* app, QObject* parent)
|
NetworkRemote::NetworkRemote(Application* app, QObject* parent)
|
||||||
: QThread(parent),
|
: QObject(parent),
|
||||||
signals_connected_(false),
|
signals_connected_(false),
|
||||||
app_(app) {
|
app_(app) {
|
||||||
}
|
}
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
#include "outgoingdatacreator.h"
|
#include "outgoingdatacreator.h"
|
||||||
#include "remoteclient.h"
|
#include "remoteclient.h"
|
||||||
|
|
||||||
class NetworkRemote : public QThread {
|
class NetworkRemote : public QObject {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
static const char* kSettingsGroup;
|
static const char* kSettingsGroup;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user