Mercurial > minori
changeset 71:5f9bdcea3d01
sidebar: fix regression caused by SetBackgroundColor()
| author | Paper <mrpapersonic@gmail.com> |
|---|---|
| date | Tue, 03 Oct 2023 04:56:18 -0400 |
| parents | 64e5f427c6a2 |
| children | f1fc8b04bc63 |
| files | src/gui/widgets/sidebar.cpp |
| diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gui/widgets/sidebar.cpp Tue Oct 03 04:45:05 2023 -0400 +++ b/src/gui/widgets/sidebar.cpp Tue Oct 03 04:56:18 2023 -0400 @@ -31,6 +31,7 @@ } void SideBar::SetBackgroundColor(QColor color) { + viewport()->setAutoFillBackground(color != Qt::transparent); QPalette pal(palette()); pal.setColor(QPalette::Window, color); setPalette(pal);
