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:
Klaus Basan
2019-12-11 23:35:15 +01:00
committed by Mat Sutcliffe
parent 429c91d93e
commit aff8665c4d
2 changed files with 8 additions and 8 deletions

View File

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