[license] Warnings-reduction
- Don't do in code what is already done in the designer (.ui) file - setFrameStyle() is difficult because it mixes different enums into an int, which causes the warning from clang.
This commit is contained in:
parent
3b5c4839e3
commit
08aa362c5c
@ -107,10 +107,6 @@ LicensePage::LicensePage( QWidget* parent )
|
||||
// ui->verticalLayout->insertSpacing( 1, CalamaresUtils::defaultFontHeight() );
|
||||
CalamaresUtils::unmarginLayout( ui->verticalLayout );
|
||||
|
||||
ui->mainText->setWordWrap( true );
|
||||
ui->mainText->setSizePolicy( QSizePolicy::Expanding, QSizePolicy::Minimum );
|
||||
|
||||
ui->acceptFrame->setFrameStyle( QFrame::NoFrame | QFrame::Plain );
|
||||
ui->acceptFrame->setStyleSheet( mustAccept );
|
||||
ui->acceptFrame->layout()->setMargin( CalamaresUtils::defaultFontHeight() / 2 );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user