mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 22:42:14 -07:00
Refactor: simplify closeRequest and remove closed signal
This commit is contained in:
parent
e10dd4ef42
commit
704db020de
11 changed files with 62 additions and 52 deletions
|
|
@ -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,7 @@ public:
|
|||
const ServerInfo_User &_otherUserInfo);
|
||||
~TabMessage() override;
|
||||
void retranslateUi() override;
|
||||
void closeRequest(bool forced = false) override;
|
||||
bool closeRequest() override;
|
||||
void tabActivated() override;
|
||||
QString getUserName() const;
|
||||
QString getTabText() const override;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue