mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-30 11:04:57 +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;
|
||||
|
||||
NetworkRemote::NetworkRemote(Application* app, QObject* parent)
|
||||
: QThread(parent),
|
||||
: QObject(parent),
|
||||
signals_connected_(false),
|
||||
app_(app) {
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user