mirror of
https://github.com/wf-group/wfview
synced 2026-08-13 17:32:59 -04:00
Revert change for Qt6 deprecation
This commit is contained in:
parent
87c8cab9c2
commit
f53d7dd411
4 changed files with 36 additions and 36 deletions
|
|
@ -2090,7 +2090,7 @@ void settingswidget::setColorButtonOperations(QColor *colorStore,
|
|||
}
|
||||
getSetColor(d, e);
|
||||
QColor t = d->getColor();
|
||||
colorStore->fromString(t.name(QColor::HexArgb));
|
||||
colorStore->setNamedColor(t.name(QColor::HexArgb));
|
||||
//useCurrentColorPreset();
|
||||
}
|
||||
|
||||
|
|
@ -2107,7 +2107,7 @@ void settingswidget::setColorLineEditOperations(QColor *colorStore,
|
|||
|
||||
QString colorStrValidated = setColorFromString(e->text(), d);
|
||||
e->setText(colorStrValidated);
|
||||
colorStore->fromString(colorStrValidated);
|
||||
colorStore->setNamedColor(colorStrValidated);
|
||||
//useCurrentColorPreset();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue