diff --git a/src/blackgui/guiutility.cpp b/src/blackgui/guiutility.cpp index d6f41ff5b..5a6535e48 100644 --- a/src/blackgui/guiutility.cpp +++ b/src/blackgui/guiutility.cpp @@ -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); diff --git a/src/blackgui/share/qss/stdwidget.qss b/src/blackgui/share/qss/stdwidget.qss index f915b497e..eae7dfca5 100644 --- a/src/blackgui/share/qss/stdwidget.qss +++ b/src/blackgui/share/qss/stdwidget.qss @@ -24,7 +24,7 @@ QCheckBox { /* CGuiUtility::checkBoxReadOnly */ /* used for read-only checkboxes */ -/* QCheckBox[readOnly="true"] { background: rgba(40,40,40); } */ +/* QCheckBox[readOnly="true"] { background: rgb(40,40,40); } */ QCheckBox::indicator { color: #b1b1b1; @@ -327,13 +327,13 @@ QLineEdit { } QLineEdit[readOnly="true"] { - background: rgba(40,40,40); - border: 1px solid rgba(50,50,50); + background: rgb(40,40,40); + border: 1px solid rgb(50,50,50); } QLineEdit:disabled { - background: rgba(40,40,40); - border: 1px solid rgba(50,50,50); + background: rgb(40,40,40); + border: 1px solid rgb(50,50,50); } QLineEdit[validation="error"] { border: 2px solid red; } @@ -412,8 +412,8 @@ QComboBox { } QComboBox:disabled { - background: rgba(40,40,40); - border: 1px solid rgba(50,50,50); + background: rgb(40,40,40); + border: 1px solid rgb(50,50,50); } /* drop down list */