1
0
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:
tux3 2015-11-08 16:23:40 +01:00
commit 0670adfd7b
No known key found for this signature in database
GPG Key ID: 7E086DD661263264
2 changed files with 6 additions and 0 deletions

View File

@ -60,6 +60,11 @@ GroupWidget::GroupWidget(int GroupId, QString Name)
Translator::registerHandler(std::bind(&GroupWidget::retranslateUi, this), this);
}
GroupWidget::~GroupWidget()
{
Translator::unregister(this);
}
void GroupWidget::contextMenuEvent(QContextMenuEvent* event)
{
if (!active)

View File

@ -27,6 +27,7 @@ class GroupWidget final : public GenericChatroomWidget
Q_OBJECT
public:
GroupWidget(int GroupId, QString Name);
~GroupWidget();
virtual void setAsInactiveChatroom() final override;
virtual void setAsActiveChatroom() final override;
virtual void updateStatusLight() final override;