@@ -37,10 +37,10 @@ namespace {
37
37
const BitFieldDescription fpuTagDescription = {
38
38
7 ,
39
39
{
40
- tr ( " valid" ) ,
41
- tr ( " zero" ) ,
42
- tr ( " special" ) ,
43
- tr ( " empty" ) ,
40
+ " valid" ,
41
+ " zero" ,
42
+ " special" ,
43
+ " empty" ,
44
44
},
45
45
{
46
46
tr (" Tag as used" ),
@@ -56,10 +56,10 @@ const BitFieldDescription fpuTagDescription = {
56
56
const BitFieldDescription roundControlDescription = {
57
57
4 ,
58
58
{
59
- tr ( " NEAR" ) ,
60
- tr ( " DOWN" ) ,
61
- tr ( " UP" ) ,
62
- tr ( " ZERO" ) ,
59
+ " NEAR" ,
60
+ " DOWN" ,
61
+ " UP" ,
62
+ " ZERO" ,
63
63
},
64
64
{
65
65
tr (" Round to nearest" ),
@@ -72,10 +72,10 @@ const BitFieldDescription roundControlDescription = {
72
72
const BitFieldDescription precisionControlDescription = {
73
73
2 ,
74
74
{
75
- tr ( " 24" ) ,
76
- tr ( " ??" ) ,
77
- tr ( " 53" ) ,
78
- tr ( " 64" ) ,
75
+ " 24" ,
76
+ " ??" ,
77
+ " 53" ,
78
+ " 64" ,
79
79
},
80
80
{
81
81
tr (" Set 24-bit precision" ),
@@ -88,10 +88,10 @@ const BitFieldDescription precisionControlDescription = {
88
88
const BitFieldDescription debugRWDescription = {
89
89
5 ,
90
90
{
91
- tr ( " EXEC" ) ,
92
- tr ( " WRITE" ) ,
93
- tr ( " IO" ) ,
94
- tr ( " R/W" ) ,
91
+ " EXEC" ,
92
+ " WRITE" ,
93
+ " IO" ,
94
+ " R/W" ,
95
95
},
96
96
{
97
97
tr (" Break on execution" ),
@@ -104,10 +104,10 @@ const BitFieldDescription debugRWDescription = {
104
104
const BitFieldDescription debugLenDescription = {
105
105
1 ,
106
106
{
107
- tr ( " 1" ) ,
108
- tr ( " 2" ) ,
109
- tr ( " 8" ) ,
110
- tr ( " 4" ) ,
107
+ " 1" ,
108
+ " 2" ,
109
+ " 8" ,
110
+ " 4" ,
111
111
},
112
112
{
113
113
tr (" Set 1-byte length" ),
@@ -152,7 +152,7 @@ void add_precision_mode(RegisterGroup *group, const QModelIndex &index, int row,
152
152
153
153
void add_puozdi (RegisterGroup *group, const QModelIndex &excRegIndex, const QModelIndex &maskRegIndex, int startRow, int startColumn) {
154
154
155
- static const QString exceptions = tr ( " PUOZDI" ) ;
155
+ static const QString exceptions = " PUOZDI" ;
156
156
157
157
static const std::unordered_map<char , QString> excNames = {
158
158
{' P' , tr (" Precision" )},
@@ -192,14 +192,14 @@ void add_puozdi(RegisterGroup *group, const QModelIndex &excRegIndex, const QMod
192
192
}
193
193
194
194
RegisterGroup *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" );
196
196
if (!catIndex.isValid ()) {
197
197
return nullptr ;
198
198
}
199
199
200
- auto nameIndex = find_model_register (catIndex, tr ( " RFLAGS" ) );
200
+ auto nameIndex = find_model_register (catIndex, " RFLAGS" );
201
201
if (!nameIndex.isValid ()) {
202
- nameIndex = find_model_register (catIndex, tr ( " EFLAGS" ) );
202
+ nameIndex = find_model_register (catIndex, " EFLAGS" );
203
203
}
204
204
205
205
if (!nameIndex.isValid ()) {
@@ -209,7 +209,7 @@ RegisterGroup *create_eflags(RegisterViewModelBase::Model *model, QWidget *paren
209
209
const auto group = new RegisterGroup (tr (" EFL" ), parent);
210
210
constexpr int NameWidth = 3 ;
211
211
int column = 0 ;
212
- group->insert (0 , column, new FieldWidget (tr ( " EFL" ) , group));
212
+ group->insert (0 , column, new FieldWidget (" EFL" , group));
213
213
214
214
constexpr int ValueWidth = 8 ;
215
215
const auto valueIndex = nameIndex.sibling (nameIndex.row (), ModelValueColumn);
@@ -228,7 +228,7 @@ RegisterGroup *create_eflags(RegisterViewModelBase::Model *model, QWidget *paren
228
228
}
229
229
230
230
RegisterGroup *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" );
232
232
if (!catIndex.isValid ()) {
233
233
return nullptr ;
234
234
}
@@ -318,7 +318,7 @@ RegisterGroup *create_fpu_data(RegisterViewModelBase::Model *model, QWidget *par
318
318
constexpr int TagWidth = 7 ;
319
319
const auto fsrIndex = valid_index (find_model_register (catIndex, FsrName));
320
320
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));
322
322
323
323
for (int row = 0 ; row < FpuRegCount; ++row) {
324
324
int column = 0 ;
0 commit comments