fix for QT issue, resolved compiler warning
This commit is contained in:
parent
cd1582cd83
commit
ba5b285a73
2 changed files with 18 additions and 3 deletions
|
@ -279,7 +279,7 @@ double CChannelFader::CalcFaderGain ( const int value )
|
||||||
/******************************************************************************\
|
/******************************************************************************\
|
||||||
* CAudioMixerBoard *
|
* CAudioMixerBoard *
|
||||||
\******************************************************************************/
|
\******************************************************************************/
|
||||||
CAudioMixerBoard::CAudioMixerBoard ( QWidget* parent, Qt::WindowFlags f ) :
|
CAudioMixerBoard::CAudioMixerBoard ( QWidget* parent, Qt::WindowFlags ) :
|
||||||
QGroupBox ( parent )
|
QGroupBox ( parent )
|
||||||
{
|
{
|
||||||
// set title text and title properties
|
// set title text and title properties
|
||||||
|
|
|
@ -828,11 +828,26 @@ void CLlconClientDlg::SetGUIDesign ( const EGUIDesign eNewDesign )
|
||||||
"QRadioButton { color: rgb(148, 148, 148);"
|
"QRadioButton { color: rgb(148, 148, 148);"
|
||||||
" font: bold; }"
|
" font: bold; }"
|
||||||
"QGroupBox::title { color: rgb(148, 148, 148); }" );
|
"QGroupBox::title { color: rgb(148, 148, 148); }" );
|
||||||
break;
|
|
||||||
|
// Workaround QT-Windows problem: This should not be necessary since in the
|
||||||
|
// background frame the style sheet for QRadioButton was already set. But it
|
||||||
|
// seems that it is only applied if the style was set to default and then back
|
||||||
|
// to GD_ORIGINAL. This seems to be a QT related issue...
|
||||||
|
RadioButtonRevSelL->setStyleSheet ( "color: rgb(148, 148, 148);"
|
||||||
|
"font: bold;" );
|
||||||
|
RadioButtonRevSelR->setStyleSheet ( "color: rgb(148, 148, 148);"
|
||||||
|
"font: bold;" );
|
||||||
|
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
// reset style sheet and set original paramters
|
// reset style sheet and set original paramters
|
||||||
backgroundFrame->setStyleSheet ( "" );
|
backgroundFrame->setStyleSheet ( "" );
|
||||||
|
|
||||||
|
// Workaround QT-Windows problem: See above description
|
||||||
|
RadioButtonRevSelL->setStyleSheet ( "" );
|
||||||
|
RadioButtonRevSelR->setStyleSheet ( "" );
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue