mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 06:35:08 -04:00
Fixed font handling in PeersDialog.
Fixed Qt bug in PeersDialog and PopupChatDialog with a workaround. - QTextEdit::clear() does not reset the CharFormat if document contains hyperlinks that have been accessed. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3652 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
f430fee12d
commit
0e063f9a1b
3 changed files with 50 additions and 37 deletions
|
@ -761,6 +761,10 @@ void PopupChatDialog::sendChat()
|
|||
}
|
||||
|
||||
chatWidget->clear();
|
||||
// workaround for Qt bug - http://bugreports.qt.nokia.com/browse/QTBUG-2533
|
||||
// QTextEdit::clear() does not reset the CharFormat if document contains hyperlinks that have been accessed.
|
||||
chatWidget->setCurrentCharFormat(QTextCharFormat ());
|
||||
|
||||
setFont();
|
||||
|
||||
/* redraw send list */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue