Browse Source

fix title editing issue, reported by "whoever"

pull/756/merge
dubslow 11 years ago committed by Tux3 / Mlkj / !Lev.uXFMLA
parent
commit
e6c08ad208
  1. 3
      src/widget/form/groupchatform.cpp

3
src/widget/form/groupchatform.cpp

@ -81,7 +81,8 @@ GroupChatForm::GroupChatForm(Group* chatGroup) @@ -81,7 +81,8 @@ GroupChatForm::GroupChatForm(Group* chatGroup)
connect(callButton, &QPushButton::clicked, this, &GroupChatForm::onCallClicked);
connect(micButton, SIGNAL(clicked()), this, SLOT(onMicMuteToggle()));
connect(volButton, SIGNAL(clicked()), this, SLOT(onVolMuteToggle()));
connect(nameLabel, &CroppingLabel::textChanged, this, [=](QString s, QString) {emit groupTitleChanged(group->groupId, s);} );
connect(nameLabel, &CroppingLabel::textChanged, this, [=](QString text, QString orig)
{if (text != orig) emit groupTitleChanged(group->groupId, text);} );
setAcceptDrops(true);
}

Loading…
Cancel
Save