Use static_cast
This commit is contained in:
@@ -54,7 +54,7 @@ InternetPlaylistItem::InternetPlaylistItem(InternetService *service, const Song
|
||||
|
||||
bool InternetPlaylistItem::InitFromQuery(const SqlRow &query) {
|
||||
|
||||
metadata_.InitFromQuery(query, false, (Song::kColumns.count() + 1) * 1);
|
||||
metadata_.InitFromQuery(query, false, (static_cast<int>(Song::kColumns.count()) + 1) * 1);
|
||||
InitMetadata();
|
||||
return true;
|
||||
|
||||
|
||||
@@ -82,8 +82,8 @@ class InternetService : public QObject {
|
||||
|
||||
signals:
|
||||
void ExitFinished();
|
||||
void Login();
|
||||
void Logout();
|
||||
void RequestLogin();
|
||||
void RequestLogout();
|
||||
void LoginWithCredentials(QString api_token, QString username, QString password);
|
||||
void LoginWithHostname(QString hostname, int, QString username, QString password);
|
||||
void LoginSuccess();
|
||||
|
||||
Reference in New Issue
Block a user