Sat, 08 Apr 2023 15:05:57 +0300
delete commented out code
widgets/colorbutton.cpp | file | annotate | diff | comparison | revisions |
--- a/widgets/colorbutton.cpp Sat Apr 08 15:03:54 2023 +0300 +++ b/widgets/colorbutton.cpp Sat Apr 08 15:05:57 2023 +0300 @@ -36,13 +36,6 @@ this->setStyleSheet(QStringLiteral( "*{background-color: %1; color: %2;}" ).arg(color.name()).arg(foreground.name())); - /* - palette.setColor(QPalette::ButtonText, foreground); - for (QWidget* widget : {(QWidget*)this->lineEdit, (QWidget*)this->button}) { - widget->setPalette(palette); - widget->setStyle(style); - } - */ Q_EMIT this->colorChanged(this->color()); }); this->setColor(Qt::black);