Mercurial > minori
diff include/gui/widgets/sidebar.h @ 294:99cbc51433e4
*: cleanup uses of QPalette
I didn't know about setBackgroundRole() which is very useful
in 99% of the cases where I even needed to edit the palette
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Sun, 12 May 2024 18:16:08 -0400 |
parents | 3ec7804abf17 |
children |
line wrap: on
line diff
--- a/include/gui/widgets/sidebar.h Sun May 12 18:06:44 2024 -0400 +++ b/include/gui/widgets/sidebar.h Sun May 12 18:16:08 2024 -0400 @@ -16,7 +16,7 @@ int GetCurrentItem(); bool IndexIsSeparator(QModelIndex index) const; static QIcon CreateIcon(const char* file); - void SetBackgroundColor(QColor color); + void SetBackgroundTransparent(bool yes); signals: void CurrentItemChanged(int index);