mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +08:00
Avoid qss warnings with Qt 5.13.2
QCssParser::parseColorValue: Specified color with alpha value but no alpha given: 'rgba 40,40,40' see https://discordapp.com/channels/539048679160676382/539925070550794240/654376042596794378
This commit is contained in:
committed by
Mat Sutcliffe
parent
429c91d93e
commit
aff8665c4d
@@ -372,7 +372,7 @@ namespace BlackGui
|
||||
BLACK_VERIFY_X(checkBox, Q_FUNC_INFO, "no checkbox");
|
||||
if (!checkBox) { return; }
|
||||
|
||||
static const QString background("background: rgba(40,40,40)"); //! \fixme hardcoded stylesheet setting, should come from stylesheet
|
||||
static const QString background("background: rgb(40,40,40)"); //! \fixme hardcoded stylesheet setting, should come from stylesheet
|
||||
if (readOnly)
|
||||
{
|
||||
checkBox->setAttribute(Qt::WA_TransparentForMouseEvents);
|
||||
|
||||
Reference in New Issue
Block a user