diff --git a/src/widget/chatformheader.cpp b/src/widget/chatformheader.cpp index 70e072253..4852d88dc 100644 --- a/src/widget/chatformheader.cpp +++ b/src/widget/chatformheader.cpp @@ -156,6 +156,8 @@ ChatFormHeader::ChatFormHeader(QWidget* parent) Translator::registerHandler(std::bind(&ChatFormHeader::retranslateUi, this), this); } +ChatFormHeader::~ChatFormHeader() = default; + void ChatFormHeader::setName(const QString& newName) { nameLabel->setText(newName); diff --git a/src/widget/chatformheader.h b/src/widget/chatformheader.h index 6765539dc..bc1b89907 100644 --- a/src/widget/chatformheader.h +++ b/src/widget/chatformheader.h @@ -55,6 +55,7 @@ public: }; ChatFormHeader(QWidget* parent = nullptr); + ~ChatFormHeader(); void setName(const QString& newName); void setMode(Mode mode);