Mercurial > minori
comparison src/gui/pages/now_playing.cc @ 295:b82841e76e79
*: better support on Windows
things now look much better in dark mode
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Sun, 12 May 2024 20:24:09 -0400 |
parents | 862d0d8619f6 |
children | 6b0768158dcd |
comparison
equal
deleted
inserted
replaced
294:99cbc51433e4 | 295:b82841e76e79 |
---|---|
76 } | 76 } |
77 | 77 |
78 } // namespace NowPlayingPages | 78 } // namespace NowPlayingPages |
79 | 79 |
80 NowPlayingPage::NowPlayingPage(QWidget* parent) : QFrame(parent) { | 80 NowPlayingPage::NowPlayingPage(QWidget* parent) : QFrame(parent) { |
81 setBackgroundRole(QPalette::Base); | |
81 QVBoxLayout* layout = new QVBoxLayout(this); | 82 QVBoxLayout* layout = new QVBoxLayout(this); |
82 | 83 |
83 setFrameShape(QFrame::Box); | 84 setFrameShape(QFrame::Box); |
84 setFrameShadow(QFrame::Sunken); | 85 setFrameShadow(QFrame::Sunken); |
85 setAutoFillBackground(true); | 86 setAutoFillBackground(true); |