From cc91cf95c7b9a154e857005a02c40ad67346af03 Mon Sep 17 00:00:00 2001 From: Tobias Markmann Date: Tue, 11 Aug 2015 10:41:08 +0200 Subject: 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 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); } -- cgit v0.10.2-6-g49f6