Skip to content

Commit

Permalink
Fix return value
Browse files Browse the repository at this point in the history
  • Loading branch information
raoulh committed Oct 7, 2024
1 parent efb6af4 commit 61232fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/CalaosConnection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -635,10 +635,10 @@ void CalaosConnection::getAudioCover(const QString &playerid)
reqReplies.append(reqReply);
}

bool CalaosConnection::changeCredentials(QString user, QString pass)
void CalaosConnection::changeCredentials(QString user, QString pass)
{
//Only supported for websocket
if (!isWebsocket()) return false;
if (!isWebsocket()) return;

username_temp = user;
password_temp = pass;
Expand Down
2 changes: 1 addition & 1 deletion src/CalaosConnection.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class CalaosConnection : public QObject

QString getNotifPictureUrl(const QString &pic_uid);

bool changeCredentials(QString user, QString pass);
void changeCredentials(QString user, QString pass);

private:
QNetworkAccessManager *accessManager;
Expand Down

0 comments on commit 61232fd

Please sign in to comment.