1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2025-01-31 01:29:41 +01:00

ContextAlbum: Use constexpr for kFadeTimeLineMs

This commit is contained in:
Jonas Kvinge 2024-06-20 15:57:53 +02:00
parent 06114c9835
commit cc0506490f
2 changed files with 3 additions and 4 deletions

View File

@ -47,7 +47,9 @@
using std::make_unique;
using std::make_shared;
const int ContextAlbum::kFadeTimeLineMs = 1000;
namespace {
constexpr int kFadeTimeLineMs = 1000;
}
ContextAlbum::ContextAlbum(QWidget *parent)
: QWidget(parent),

View File

@ -92,9 +92,6 @@ class ContextAlbum : public QWidget {
public slots:
void SearchCoverInProgress();
private:
static const int kFadeTimeLineMs;
private:
QMenu *menu_;
ContextView *context_view_;