Replace use of C style casts
This commit is contained in:
@@ -711,7 +711,7 @@ void ContextView::ResetSong() {
|
||||
|
||||
void ContextView::UpdateLyrics(const quint64 id, const QString &provider, const QString &lyrics) {
|
||||
|
||||
if ((qint64) id != lyrics_id_) return;
|
||||
if (static_cast<qint64>(id) != lyrics_id_) return;
|
||||
lyrics_ = lyrics + "\n\n(Lyrics from " + provider + ")\n";
|
||||
lyrics_id_ = -1;
|
||||
if (action_show_lyrics_->isChecked()) {
|
||||
|
||||
Reference in New Issue
Block a user