We do a little linting.

This commit is contained in:
Brübach, Lukas 2025-11-29 22:05:05 +01:00
parent 7d7db0cbb4
commit 60fdad20d5

View file

@ -12,7 +12,7 @@
*/
ShadowBackgroundLabel::ShadowBackgroundLabel(QWidget *parent, const QString &text) : QLabel(parent)
{
setAttribute(Qt::WA_TranslucentBackground); // Allows transparency.
setAttribute(Qt::WA_TranslucentBackground); // Allows transparency.
setLabelText(text);
setAlignment(Qt::AlignCenter); ///< Centers the text within the label.
setSizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum); ///< Ensures minimum size constraints.
@ -20,7 +20,7 @@ ShadowBackgroundLabel::ShadowBackgroundLabel(QWidget *parent, const QString &tex
void ShadowBackgroundLabel::setLabelText(const QString &text)
{
setText("<font color='white'>" + text + "</font>"); ///< Ensures the text is rendered in white.
setText("<font color='white'>" + text + "</font>"); ///< Ensures the text is rendered in white.
update();
}