Disable use of Qt APIs deprecated in 5.15.0 and earlier versions (#4133)

This commit is contained in:
kornes
2022-11-10 19:11:40 +00:00
committed by GitHub
parent 3303cdc0cb
commit fbfa5e0f41
21 changed files with 36 additions and 36 deletions
+3 -3
View File
@@ -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");