[kde-doc-english] [trojita] src/Gui: GUI: use regular dashes instead of fancy Unicode in window titles

Jan Kundrát jkt at flaska.net
Wed Jan 16 16:52:38 UTC 2013


Git commit 5b4e24afd952bc990e066715eb320ce3ba1be029 by Jan Kundrát.
Committed on 16/01/2013 at 17:18.
Pushed by jkt into branch 'master'.

GUI: use regular dashes instead of fancy Unicode in window titles

Thanks to Thomas for letting me know. I didn't know there were fancy harcs in
there. The Czech typography rules should have never found their way to the
English sources, sorry.

M  +2    -2    src/Gui/Window.cpp

http://commits.kde.org/trojita/5b4e24afd952bc990e066715eb320ce3ba1be029

diff --git a/src/Gui/Window.cpp b/src/Gui/Window.cpp
index 75c6e51..5edee02 100644
--- a/src/Gui/Window.cpp
+++ b/src/Gui/Window.cpp
@@ -1687,11 +1687,11 @@ void MainWindow::slotUpdateWindowTitle()
     QModelIndex mailbox = msgListModel->currentMailbox();
     if (mailbox.isValid()) {
         if (mailbox.data(Imap::Mailbox::RoleUnreadMessageCount).toInt()) {
-            setWindowTitle(trUtf8("%1 — %2 unread — Trojitá")
+            setWindowTitle(trUtf8("%1 - %2 unread - Trojitá")
                            .arg(mailbox.data(Imap::Mailbox::RoleShortMailboxName).toString(),
                                 mailbox.data(Imap::Mailbox::RoleUnreadMessageCount).toString()));
         } else {
-            setWindowTitle(trUtf8("%1 — Trojitá").arg(mailbox.data(Imap::Mailbox::RoleShortMailboxName).toString()));
+            setWindowTitle(trUtf8("%1 - Trojitá").arg(mailbox.data(Imap::Mailbox::RoleShortMailboxName).toString()));
         }
     } else {
         setWindowTitle(trUtf8("Trojitá"));



More information about the kde-doc-english mailing list