From 1388c756c43d954f047afd14ea9068cea9808c7f Mon Sep 17 00:00:00 2001 From: Elliott Liggett Date: Sun, 21 Aug 2022 21:51:50 -0700 Subject: [PATCH] Fixed alpha channel issue --- wfmain.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wfmain.cpp b/wfmain.cpp index 4c9f24c..62c068f 100644 --- a/wfmain.cpp +++ b/wfmain.cpp @@ -6380,7 +6380,7 @@ void wfmain::setColorButtonOperations(QColor *colorStore, } getSetColor(d, e); QColor t = d->getColor(); - colorStore->setNamedColor(t.name()); + colorStore->setNamedColor(t.name(QColor::HexArgb)); //colorStore->setBlue(100); useCurrentColorPreset(); } @@ -6475,7 +6475,7 @@ void wfmain::setEditAndLedFromColor(QColor c, QLineEdit *e, QLedLabel *d) if(e != Q_NULLPTR) { e->blockSignals(blockSignals); - e->setText(c.name()); + e->setText(c.name(QColor::HexArgb)); e->blockSignals(false); } if(d != Q_NULLPTR)