1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Merge pull request #5260

iphydf (1):
      refactor: Give ChatFormHeader an out-of-line destructor.
This commit is contained in:
sudden6 2018-07-20 10:19:51 +02:00
commit 8741834b59
No known key found for this signature in database
GPG Key ID: 279509B499E032B9
2 changed files with 3 additions and 0 deletions

View File

@ -156,6 +156,8 @@ ChatFormHeader::ChatFormHeader(QWidget* parent)
Translator::registerHandler(std::bind(&ChatFormHeader::retranslateUi, this), this); Translator::registerHandler(std::bind(&ChatFormHeader::retranslateUi, this), this);
} }
ChatFormHeader::~ChatFormHeader() = default;
void ChatFormHeader::setName(const QString& newName) void ChatFormHeader::setName(const QString& newName)
{ {
nameLabel->setText(newName); nameLabel->setText(newName);

View File

@ -55,6 +55,7 @@ public:
}; };
ChatFormHeader(QWidget* parent = nullptr); ChatFormHeader(QWidget* parent = nullptr);
~ChatFormHeader();
void setName(const QString& newName); void setName(const QString& newName);
void setMode(Mode mode); void setMode(Mode mode);