diff options
author | Tobias Markmann <tm@ayena.de> | 2015-08-11 08:41:08 (GMT) |
---|---|---|
committer | Kevin Smith <kevin.smith@isode.com> | 2015-08-11 16:25:05 (GMT) |
commit | cc91cf95c7b9a154e857005a02c40ad67346af03 (patch) | |
tree | 8c1038e7110220495ebfeb48be20eee2e336490d /Swift/QtUI | |
parent | 9315a4acce26b3913eac6ea84e13a67e15281df1 (diff) | |
download | swift-cc91cf95c7b9a154e857005a02c40ad67346af03.zip swift-cc91cf95c7b9a154e857005a02c40ad67346af03.tar.bz2 |
Fix accelerator for "Chats" tab in the main window
Test-Information:
Verified behavior with Qt 5.5.0 on Elementary OS 0.2.
Change-Id: Id4dd1e5e35c1ec20d0a2dd39727ee0ba352b611a
Diffstat (limited to 'Swift/QtUI')
-rw-r--r-- | Swift/QtUI/QtMainWindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Swift/QtUI/QtMainWindow.cpp b/Swift/QtUI/QtMainWindow.cpp index 01bba9b..e2092f6 100644 --- a/Swift/QtUI/QtMainWindow.cpp +++ b/Swift/QtUI/QtMainWindow.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010-2014 Isode Limited. + * Copyright (c) 2010-2015 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ @@ -264,7 +264,7 @@ void QtMainWindow::handleChatCountUpdated(int count) { QColor chatTabColor = (count == 0) ? QColor() : QColor(255, 0, 0); // invalid resets to default int chatIndex = 1; tabs_->tabBar()->setTabTextColor(chatIndex, chatTabColor); - QString text = tr("&Chats"); + QString text = tr("C&hats"); if (count > 0) { text += QString(" (%1)").arg(count); } |