diff options
author | Gerald Combs <gerald@wireshark.org> | 2012-08-01 19:18:49 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2012-08-01 19:18:49 +0000 |
commit | 02894a0be8f12768f362d475f761d7e25c92ab9c (patch) | |
tree | ec52d52ed4c6338498a6418e782f2a7b586298d7 /ui/qt/main_status_bar.cpp | |
parent | ecf26166fa54bc8d23e1cd9378bf8c333487c75a (diff) | |
download | wireshark-02894a0be8f12768f362d475f761d7e25c92ab9c.tar.gz |
Move utf8_entities.h to the "ui" directory. Separate packet information
items with MIDDLE DOTs.
svn path=/trunk/; revision=44194
Diffstat (limited to 'ui/qt/main_status_bar.cpp')
-rw-r--r-- | ui/qt/main_status_bar.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/ui/qt/main_status_bar.cpp b/ui/qt/main_status_bar.cpp index 350a95e1ae..38ed87a5fd 100644 --- a/ui/qt/main_status_bar.cpp +++ b/ui/qt/main_status_bar.cpp @@ -36,6 +36,7 @@ #include "epan/expert.h" #include "ui/main_statusbar.h" +#include "ui/utf8_entities.h" #include <QSplitter> #include <QHBoxLayout> @@ -96,20 +97,21 @@ packets_bar_update(void) /* Do we have any packets? */ if (cfile.count) { - packetsStr.append(QString(QObject::tr("Packets: %1 Displayed: %2 Marked: %3")) + packetsStr.append(QString("Packets: %1 " UTF8_MIDDLE_DOT " Displayed: %2 " UTF8_MIDDLE_DOT " Marked: %3") +// packetsStr.append(QString(QObject::tr("Packets: %1 Displayed: %2 Marked: %3")) .arg(cfile.count) .arg(cfile.displayed_count) .arg(cfile.marked_count)); if(cfile.drops_known) { - packetsStr.append(QString(QObject::tr(" Dropped: %1")).arg(cfile.drops)); + packetsStr.append(QString(" " UTF8_MIDDLE_DOT " Dropped: %1")).arg(cfile.drops); } if(cfile.ignored_count > 0) { - packetsStr.append(QString(QObject::tr(" Ignored: %1")).arg(cfile.ignored_count)); + packetsStr.append(QString(" " UTF8_MIDDLE_DOT " Ignored: %1").arg(cfile.ignored_count)); } if(!cfile.is_tempfile) { /* Loading an existing file */ gulong computed_elapsed = cf_get_computed_elapsed(); - packetsStr.append(QString(QObject::tr(" Load time: %1:%2.%3")) + packetsStr.append(QString(" " UTF8_MIDDLE_DOT " Load time: %1:%2.%3") .arg(computed_elapsed/60000) .arg(computed_elapsed%60000/1000) .arg(computed_elapsed%1000)); |