Skip to content

Commit 773e168

Browse files
committed
Set accessible name on history control
1 parent 408f007 commit 773e168

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Diff for: Client/qtTeamTalk/chattextedit.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ QString getTextMessagePrefix(const TextMessage& msg, const User& user)
122122
ChatTextEdit::ChatTextEdit(QWidget * parent/* = 0*/)
123123
: QPlainTextEdit(parent)
124124
{
125+
setAccessibleName(tr("History"));
126+
125127
new UrlSyntaxHighlighter(document());
126128
viewport()->setMouseTracking(true);
127129
setTabChangesFocus(true);

Diff for: Client/qtTeamTalk/chattextlist.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ extern QSettings* ttSettings;
4141
ChatTextList::ChatTextList(QWidget * parent/* = 0*/)
4242
: QListWidget(parent)
4343
{
44+
setAccessibleName(tr("History"));
4445
setMouseTracking(true);
4546
setWordWrap(true);
4647
setSelectionMode(QAbstractItemView::ExtendedSelection);

0 commit comments

Comments
 (0)