Disable use of Qt APIs deprecated in 5.15.0 and earlier versions (#4133)
This commit is contained in:
@@ -209,9 +209,8 @@ void SplitInput::themeChangedEvent()
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 12, 0))
|
||||
this->ui_.textEdit->setPalette(placeholderPalette);
|
||||
#endif
|
||||
|
||||
this->ui_.vbox->setMargin(
|
||||
int((this->theme->isLightTheme() ? 4 : 2) * this->scale()));
|
||||
auto marginPx = (this->theme->isLightTheme() ? 4 : 2) * this->scale();
|
||||
this->ui_.vbox->setContentsMargins(marginPx, marginPx, marginPx, marginPx);
|
||||
|
||||
this->ui_.emoteButton->getLabel().setStyleSheet("color: #000");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user