delete commented out code

Sat, 08 Apr 2023 15:05:57 +0300

author
Teemu Piippo <teemu.s.piippo@gmail.com>
date
Sat, 08 Apr 2023 15:05:57 +0300
changeset 345
81cd5dee6d77
parent 344
a24da8de2a3b
child 346
3e3784c4cd3e

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);

mercurial