Browse Source

Merge branch 'comment-1367' of https://github.com/zetok/qTox

pull/1382/head
Dubslow 11 years ago
parent
commit
3357024b4a
No known key found for this signature in database
GPG Key ID: 3DB8E05315C220AA
  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