Browse Source

Add missing comment for #1367

pull/1381/head
Zetok Zalbavar 11 years ago
parent
commit
9ed4b3fb7d
No known key found for this signature in database
GPG Key ID: C953D3880212068A
  1. 6
      src/widget/groupwidget.cpp

6
src/widget/groupwidget.cpp

@ -69,6 +69,12 @@ void GroupWidget::contextMenuEvent(QContextMenuEvent * event) @@ -69,6 +69,12 @@ void GroupWidget::contextMenuEvent(QContextMenuEvent * event)
if (ok && alias != nameLabel->fullText())
emit g->getChatForm()->groupTitleChanged(groupId, alias.left(128));
/* according to agilob:
* Moving mouse pointer over groupwidget results in CSS effect
* mouse-over(?). Changing group title repaints only changed
* element - title, the rest of the widget stays in the same CSS as it
* was on mouse over. Repainting whole widget fixes style problem.
*/
this->repaint();
}
}

Loading…
Cancel
Save