Disable use of Qt APIs deprecated in 5.15.0 and earlier versions (#4133)
This commit is contained in:
@@ -167,11 +167,11 @@ EmotePopup::EmotePopup(QWidget *parent)
|
||||
QRegularExpression searchRegex("\\S*");
|
||||
searchRegex.setPatternOptions(QRegularExpression::CaseInsensitiveOption);
|
||||
|
||||
layout->setMargin(0);
|
||||
layout->setContentsMargins(0, 0, 0, 0);
|
||||
layout->setSpacing(0);
|
||||
|
||||
QHBoxLayout *layout2 = new QHBoxLayout(this);
|
||||
layout2->setMargin(8);
|
||||
layout2->setContentsMargins(8, 8, 8, 8);
|
||||
layout2->setSpacing(8);
|
||||
|
||||
this->search_ = new QLineEdit();
|
||||
@@ -214,7 +214,7 @@ EmotePopup::EmotePopup(QWidget *parent)
|
||||
|
||||
this->notebook_ = new Notebook(this);
|
||||
layout->addWidget(this->notebook_);
|
||||
layout->setMargin(0);
|
||||
layout->setContentsMargins(0, 0, 0, 0);
|
||||
|
||||
this->subEmotesView_ = makeView("Subs");
|
||||
this->channelEmotesView_ = makeView("Channel");
|
||||
|
||||
Reference in New Issue
Block a user