sup with these wrong connects?

This commit is contained in:
confuseh
2017-01-22 18:43:32 +00:00
parent be92a82891
commit b68ab726e6
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -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