mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-30 17:14:58 +01:00
ContextAlbum: Use constexpr for kFadeTimeLineMs
This commit is contained in:
parent
06114c9835
commit
cc0506490f
@ -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),
|
||||
|
@ -92,9 +92,6 @@ class ContextAlbum : public QWidget {
|
||||
public slots:
|
||||
void SearchCoverInProgress();
|
||||
|
||||
private:
|
||||
static const int kFadeTimeLineMs;
|
||||
|
||||
private:
|
||||
QMenu *menu_;
|
||||
ContextView *context_view_;
|
||||
|
Loading…
x
Reference in New Issue
Block a user