Mercurial > minori
comparison src/gui/dialog/settings/recognition.cc @ 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 | 862d0d8619f6 |
children | b1f625b0227c |
comparison
equal
deleted
inserted
replaced
293:703fb7d7c917 | 294:99cbc51433e4 |
---|---|
62 | 62 |
63 full_layout->addWidget(widget); | 63 full_layout->addWidget(widget); |
64 } | 64 } |
65 | 65 |
66 full_layout->setSpacing(10); | 66 full_layout->setSpacing(10); |
67 full_layout->setContentsMargins(0, 0, 0, 0); | |
67 | 68 |
68 return result; | 69 return result; |
69 } | 70 } |
70 | 71 |
71 void SettingsPageRecognition::SaveInfo() { | 72 void SettingsPageRecognition::SaveInfo() { |