Refactor: Simplify closeRequest and remove closed signal (#6062)

* Refactor: simplify closeRequest and remove closed signal

* clean up closeRequest usages
This commit is contained in:
RickyRister 2025-08-01 19:45:54 -07:00 committed by GitHub
parent fd12a1f6be
commit 04be0fe634
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 61 additions and 57 deletions

View file

@ -37,6 +37,9 @@ private slots:
void addMentionTag(QString mentionTag);
void messageClicked();
protected slots:
void closeEvent(QCloseEvent *event) override;
public:
TabMessage(TabSupervisor *_tabSupervisor,
AbstractClient *_client,
@ -44,7 +47,6 @@ public:
const ServerInfo_User &_otherUserInfo);
~TabMessage() override;
void retranslateUi() override;
void closeRequest(bool forced = false) override;
void tabActivated() override;
QString getUserName() const;
QString getTabText() const override;