From 9404e40cadd1552c2eed35f9781aa1357f3a23b1 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Wed, 12 Sep 2018 21:52:30 +0200 Subject: [PATCH] Fix song.h --- src/core/song.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/song.h b/src/core/song.h index 93feb1e33..2965f9569 100644 --- a/src/core/song.h +++ b/src/core/song.h @@ -124,12 +124,12 @@ class Song { static QString TextForSource(Source source); static QIcon IconForSource(Source source); static QString TextForFiletype(FileType filetype); - QIcon IconForFiletype(FileType filetype); + static QIcon IconForFiletype(FileType filetype); QString TextForSource() const { return TextForSource(source()); } QIcon IconForSource() const { return IconForSource(source()); } QString TextForFiletype() const { return TextForFiletype(filetype()); } - QIcon IconForFiletype(FileType filetype) const { return IconForFiletype(filetype); } + QIcon IconForFiletype() const { return IconForFiletype(filetype()); } bool IsFileLossless() const; static FileType FiletypeByExtension(QString ext);