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:
commit
8741834b59
|
@ -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);
|
||||
|
|
|
@ -55,6 +55,7 @@ public:
|
|||
};
|
||||
|
||||
ChatFormHeader(QWidget* parent = nullptr);
|
||||
~ChatFormHeader();
|
||||
|
||||
void setName(const QString& newName);
|
||||
void setMode(Mode mode);
|
||||
|
|
Loading…
Reference in New Issue
Block a user