@@ -37,10 +37,10 @@ namespace {
3737const BitFieldDescription fpuTagDescription = {
3838 7 ,
3939 {
40- tr ( " valid" ) ,
41- tr ( " zero" ) ,
42- tr ( " special" ) ,
43- tr ( " empty" ) ,
40+ " valid" ,
41+ " zero" ,
42+ " special" ,
43+ " empty" ,
4444 },
4545 {
4646 tr (" Tag as used" ),
@@ -56,10 +56,10 @@ const BitFieldDescription fpuTagDescription = {
5656const BitFieldDescription roundControlDescription = {
5757 4 ,
5858 {
59- tr ( " NEAR" ) ,
60- tr ( " DOWN" ) ,
61- tr ( " UP" ) ,
62- tr ( " ZERO" ) ,
59+ " NEAR" ,
60+ " DOWN" ,
61+ " UP" ,
62+ " ZERO" ,
6363 },
6464 {
6565 tr (" Round to nearest" ),
@@ -72,10 +72,10 @@ const BitFieldDescription roundControlDescription = {
7272const BitFieldDescription precisionControlDescription = {
7373 2 ,
7474 {
75- tr ( " 24" ) ,
76- tr ( " ??" ) ,
77- tr ( " 53" ) ,
78- tr ( " 64" ) ,
75+ " 24" ,
76+ " ??" ,
77+ " 53" ,
78+ " 64" ,
7979 },
8080 {
8181 tr (" Set 24-bit precision" ),
@@ -88,10 +88,10 @@ const BitFieldDescription precisionControlDescription = {
8888const BitFieldDescription debugRWDescription = {
8989 5 ,
9090 {
91- tr ( " EXEC" ) ,
92- tr ( " WRITE" ) ,
93- tr ( " IO" ) ,
94- tr ( " R/W" ) ,
91+ " EXEC" ,
92+ " WRITE" ,
93+ " IO" ,
94+ " R/W" ,
9595 },
9696 {
9797 tr (" Break on execution" ),
@@ -104,10 +104,10 @@ const BitFieldDescription debugRWDescription = {
104104const BitFieldDescription debugLenDescription = {
105105 1 ,
106106 {
107- tr ( " 1" ) ,
108- tr ( " 2" ) ,
109- tr ( " 8" ) ,
110- tr ( " 4" ) ,
107+ " 1" ,
108+ " 2" ,
109+ " 8" ,
110+ " 4" ,
111111 },
112112 {
113113 tr (" Set 1-byte length" ),
@@ -152,7 +152,7 @@ void add_precision_mode(RegisterGroup *group, const QModelIndex &index, int row,
152152
153153void add_puozdi (RegisterGroup *group, const QModelIndex &excRegIndex, const QModelIndex &maskRegIndex, int startRow, int startColumn) {
154154
155- static const QString exceptions = tr ( " PUOZDI" ) ;
155+ static const QString exceptions = " PUOZDI" ;
156156
157157 static const std::unordered_map<char , QString> excNames = {
158158 {' P' , tr (" Precision" )},
@@ -192,14 +192,14 @@ void add_puozdi(RegisterGroup *group, const QModelIndex &excRegIndex, const QMod
192192}
193193
194194RegisterGroup *create_eflags (RegisterViewModelBase::Model *model, QWidget *parent) {
195- const auto catIndex = find_model_category (model, tr ( " General Status" ) );
195+ const auto catIndex = find_model_category (model, " General Status" );
196196 if (!catIndex.isValid ()) {
197197 return nullptr ;
198198 }
199199
200- auto nameIndex = find_model_register (catIndex, tr ( " RFLAGS" ) );
200+ auto nameIndex = find_model_register (catIndex, " RFLAGS" );
201201 if (!nameIndex.isValid ()) {
202- nameIndex = find_model_register (catIndex, tr ( " EFLAGS" ) );
202+ nameIndex = find_model_register (catIndex, " EFLAGS" );
203203 }
204204
205205 if (!nameIndex.isValid ()) {
@@ -209,7 +209,7 @@ RegisterGroup *create_eflags(RegisterViewModelBase::Model *model, QWidget *paren
209209 const auto group = new RegisterGroup (tr (" EFL" ), parent);
210210 constexpr int NameWidth = 3 ;
211211 int column = 0 ;
212- group->insert (0 , column, new FieldWidget (tr ( " EFL" ) , group));
212+ group->insert (0 , column, new FieldWidget (" EFL" , group));
213213
214214 constexpr int ValueWidth = 8 ;
215215 const auto valueIndex = nameIndex.sibling (nameIndex.row (), ModelValueColumn);
@@ -228,7 +228,7 @@ RegisterGroup *create_eflags(RegisterViewModelBase::Model *model, QWidget *paren
228228}
229229
230230RegisterGroup *create_expanded_eflags (RegisterViewModelBase::Model *model, QWidget *parent) {
231- const auto catIndex = find_model_category (model, tr ( " General Status" ) );
231+ const auto catIndex = find_model_category (model, " General Status" );
232232 if (!catIndex.isValid ()) {
233233 return nullptr ;
234234 }
@@ -318,7 +318,7 @@ RegisterGroup *create_fpu_data(RegisterViewModelBase::Model *model, QWidget *par
318318 constexpr int TagWidth = 7 ;
319319 const auto fsrIndex = valid_index (find_model_register (catIndex, FsrName));
320320
321- const QPersistentModelIndex topIndex = valid_index (find_model_register (fsrIndex, tr ( " TOP" ) , ModelValueColumn));
321+ const QPersistentModelIndex topIndex = valid_index (find_model_register (fsrIndex, " TOP" , ModelValueColumn));
322322
323323 for (int row = 0 ; row < FpuRegCount; ++row) {
324324 int column = 0 ;
0 commit comments