mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
sup with these wrong connects?
This commit is contained in:
parent
be92a82891
commit
b68ab726e6
3 changed files with 5 additions and 5 deletions
|
@ -45,14 +45,14 @@ ChatWidgetInput::ChatWidgetInput()
|
|||
|
||||
QObject::connect(&settings::Settings::getInstance().getShowMessageLength(),
|
||||
&settings::BoolSetting::valueChanged, this,
|
||||
&setMessageLengthVisisble);
|
||||
&ChatWidgetInput::setMessageLengthVisisble);
|
||||
}
|
||||
|
||||
ChatWidgetInput::~ChatWidgetInput()
|
||||
{
|
||||
QObject::disconnect(
|
||||
&settings::Settings::getInstance().getShowMessageLength(),
|
||||
&settings::BoolSetting::valueChanged, this, &setMessageLengthVisisble);
|
||||
&settings::BoolSetting::valueChanged, this, &ChatWidgetInput::setMessageLengthVisisble);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -25,14 +25,14 @@ ChatWidgetView::ChatWidgetView(ChatWidget *parent)
|
|||
|
||||
QObject::connect(&settings::Settings::getInstance(),
|
||||
&settings::Settings::wordTypeMaskChanged, this,
|
||||
&wordTypeMaskChanged);
|
||||
&ChatWidgetView::wordTypeMaskChanged);
|
||||
}
|
||||
|
||||
ChatWidgetView::~ChatWidgetView()
|
||||
{
|
||||
QObject::disconnect(&settings::Settings::getInstance(),
|
||||
&settings::Settings::wordTypeMaskChanged, this,
|
||||
&wordTypeMaskChanged);
|
||||
&ChatWidgetView::wordTypeMaskChanged);
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
|
@ -13,7 +13,7 @@ public:
|
|||
sizePolicy.setVerticalPolicy(QSizePolicy::Preferred);
|
||||
this->setSizePolicy(sizePolicy);
|
||||
|
||||
QObject::connect(this, &QTextEdit::textChanged, this, &updateGeometry);
|
||||
QObject::connect(this, &QTextEdit::textChanged, this, &QWidget::updateGeometry);
|
||||
}
|
||||
|
||||
QSize
|
||||
|
|
Loading…
Reference in a new issue