Fixed alpha channel issue

monitor
Elliott Liggett 2022-08-21 21:51:50 -07:00
rodzic 16237a47f5
commit 1388c756c4
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -6380,7 +6380,7 @@ void wfmain::setColorButtonOperations(QColor *colorStore,
} }
getSetColor(d, e); getSetColor(d, e);
QColor t = d->getColor(); QColor t = d->getColor();
colorStore->setNamedColor(t.name()); colorStore->setNamedColor(t.name(QColor::HexArgb));
//colorStore->setBlue(100); //colorStore->setBlue(100);
useCurrentColorPreset(); useCurrentColorPreset();
} }
@ -6475,7 +6475,7 @@ void wfmain::setEditAndLedFromColor(QColor c, QLineEdit *e, QLedLabel *d)
if(e != Q_NULLPTR) if(e != Q_NULLPTR)
{ {
e->blockSignals(blockSignals); e->blockSignals(blockSignals);
e->setText(c.name()); e->setText(c.name(QColor::HexArgb));
e->blockSignals(false); e->blockSignals(false);
} }
if(d != Q_NULLPTR) if(d != Q_NULLPTR)