mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-18 20:34:39 +01:00
Remove unnecessary parameter and comment.
This commit is contained in:
parent
c09d77f413
commit
25b3dc8b09
@ -97,7 +97,7 @@ void IncomingDataParser::Parse(const pb::remote::Message& msg) {
|
||||
|
||||
// Now check what's to do
|
||||
switch (msg.type()) {
|
||||
case pb::remote::CONNECT: ClientConnect(client, msg);
|
||||
case pb::remote::CONNECT: ClientConnect(msg);
|
||||
break;
|
||||
case pb::remote::DISCONNECT: close_connection_ = true;
|
||||
break;
|
||||
@ -240,7 +240,7 @@ void IncomingDataParser::RemoveSongs(const pb::remote::Message& msg) {
|
||||
emit RemoveSongs(songs);
|
||||
}
|
||||
|
||||
void IncomingDataParser::ClientConnect(RemoteClient* client, const pb::remote::Message& msg) {
|
||||
void IncomingDataParser::ClientConnect(const pb::remote::Message& msg) {
|
||||
|
||||
// Always sned the Clementine infos
|
||||
emit SendClementineInfo();
|
||||
|
@ -56,7 +56,7 @@ private:
|
||||
void SetShuffleMode(const pb::remote::Shuffle& shuffle);
|
||||
void InsertUrls(const pb::remote::Message& msg);
|
||||
void RemoveSongs(const pb::remote::Message& msg);
|
||||
void ClientConnect(RemoteClient* client, const pb::remote::Message& msg);
|
||||
void ClientConnect(const pb::remote::Message& msg);
|
||||
void SendPlaylists(const pb::remote::Message& msg);
|
||||
void OpenPlaylist(const pb::remote::Message& msg);
|
||||
void ClosePlaylist(const pb::remote::Message& msg);
|
||||
|
@ -35,8 +35,6 @@ RemoteClient::RemoteClient(Application* app, QTcpSocket* client)
|
||||
|
||||
// Connect to the slot IncomingData when receiving data
|
||||
connect(client, SIGNAL(readyRead()), this, SLOT(IncomingData()));
|
||||
//connect(client, SIGNAL(disconnected()),
|
||||
// client, SLOT(deleteLater()));
|
||||
|
||||
// Check if we use auth code
|
||||
QSettings s;
|
||||
|
Loading…
Reference in New Issue
Block a user