diff options
author | Kevin Smith <git@kismith.co.uk> | 2013-11-22 13:44:58 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2013-11-22 13:44:58 (GMT) |
commit | e6b631bd3c99b45d108e3050b948f07d381a4ca4 (patch) | |
tree | ce39b9d49c1567e148ca548edc96a2667db12cab /Swift/QtUI/QtChatWindow.cpp | |
parent | fb7437ec7e71407f1f6a44522be2f6f7c3792d05 (diff) | |
download | swift-e6b631bd3c99b45d108e3050b948f07d381a4ca4.zip swift-e6b631bd3c99b45d108e3050b948f07d381a4ca4.tar.bz2 |
Provide an MSAA name for the chat log.
Also introduces a screenreader option ready for later patches.
Change-Id: I30cff418c0c557f0c7f97f47a8493c77a2b68159
Diffstat (limited to 'Swift/QtUI/QtChatWindow.cpp')
-rw-r--r-- | Swift/QtUI/QtChatWindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/QtUI/QtChatWindow.cpp b/Swift/QtUI/QtChatWindow.cpp index bfa0663..d4b1d0f 100644 --- a/Swift/QtUI/QtChatWindow.cpp +++ b/Swift/QtUI/QtChatWindow.cpp @@ -108,7 +108,7 @@ QtChatWindow::QtChatWindow(const QString &contact, QtChatTheme* theme, UIEventSt logRosterSplitter_ = new QSplitter(this); logRosterSplitter_->setAutoFillBackground(true); layout->addWidget(logRosterSplitter_); - if (settings_->getSetting(QtUISettingConstants::USE_PLAIN_CHATS)) { + if (settings_->getSetting(QtUISettingConstants::USE_PLAIN_CHATS) || settings_->getSetting(QtUISettingConstants::USE_SCREENREADER)) { messageLog_ = new QtPlainChatView(this); } else { |