From 05e037565902fd3043f3f475da0c7b5265d09425 Mon Sep 17 00:00:00 2001 From: YFdyh000 Date: Mon, 5 Oct 2015 02:35:13 +0800 Subject: [PATCH] Remove tr() for setObjectName Change-Id: I4561ded123df3c2152da543e8a6786cb8b386dd5 Reviewed-on: https://code.wireshark.org/review/10790 Reviewed-by: Pascal Quantin Petri-Dish: Pascal Quantin Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann --- ui/qt/lte_mac_statistics_dialog.cpp | 2 +- ui/qt/main_window.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/qt/lte_mac_statistics_dialog.cpp b/ui/qt/lte_mac_statistics_dialog.cpp index 411394a110..59b08cc641 100644 --- a/ui/qt/lte_mac_statistics_dialog.cpp +++ b/ui/qt/lte_mac_statistics_dialog.cpp @@ -454,7 +454,7 @@ LteMacStatisticsDialog::LteMacStatisticsDialog(QWidget &parent, CaptureFile &cf, // Create statistics label. commonStatsLabel = new QLabel(this); - commonStatsLabel ->setObjectName(tr("statisticsLabel")); + commonStatsLabel ->setObjectName("statisticsLabel"); commonStatsLabel ->setTextFormat(Qt::RichText); commonStatsLabel ->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse); common_stats_grid->addWidget(commonStatsLabel); diff --git a/ui/qt/main_window.cpp b/ui/qt/main_window.cpp index bc3ce6ab7b..ef59ae124a 100644 --- a/ui/qt/main_window.cpp +++ b/ui/qt/main_window.cpp @@ -346,11 +346,11 @@ MainWindow::MainWindow(QWidget *parent) : main_ui_->menuHelp->insertAction(update_sep, update_action); connect(update_action, SIGNAL(triggered()), this, SLOT(checkForUpdates())); #endif - master_split_.setObjectName(tr("splitterMaster")); - extra_split_.setObjectName(tr("splitterExtra")); + master_split_.setObjectName("splitterMaster"); + extra_split_.setObjectName("splitterExtra"); main_ui_->mainStack->addWidget(&master_split_); - empty_pane_.setObjectName(tr("emptyPane")); + empty_pane_.setObjectName("emptyPane"); packet_list_ = new PacketList(&master_split_);