mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Merge branch 'pr2531'
This commit is contained in:
commit
0670adfd7b
|
@ -60,6 +60,11 @@ GroupWidget::GroupWidget(int GroupId, QString Name)
|
||||||
Translator::registerHandler(std::bind(&GroupWidget::retranslateUi, this), this);
|
Translator::registerHandler(std::bind(&GroupWidget::retranslateUi, this), this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GroupWidget::~GroupWidget()
|
||||||
|
{
|
||||||
|
Translator::unregister(this);
|
||||||
|
}
|
||||||
|
|
||||||
void GroupWidget::contextMenuEvent(QContextMenuEvent* event)
|
void GroupWidget::contextMenuEvent(QContextMenuEvent* event)
|
||||||
{
|
{
|
||||||
if (!active)
|
if (!active)
|
||||||
|
|
|
@ -27,6 +27,7 @@ class GroupWidget final : public GenericChatroomWidget
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
GroupWidget(int GroupId, QString Name);
|
GroupWidget(int GroupId, QString Name);
|
||||||
|
~GroupWidget();
|
||||||
virtual void setAsInactiveChatroom() final override;
|
virtual void setAsInactiveChatroom() final override;
|
||||||
virtual void setAsActiveChatroom() final override;
|
virtual void setAsActiveChatroom() final override;
|
||||||
virtual void updateStatusLight() final override;
|
virtual void updateStatusLight() final override;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user