equal
deleted
inserted
replaced
250 |
250 |
251 |
251 |
252 |
252 |
253 //: This is a message without a source string |
253 //: This is a message without a source string |
254 QString test = qtTrId("yet_another_id"); |
254 QString test = qtTrId("yet_another_id"); |
|
255 |
|
256 |
|
257 |
|
258 // QTBUG-9276: context in static initializers |
|
259 class Bogus : QObject { |
|
260 Q_OBJECT |
|
261 |
|
262 static const char * const s_strings[]; |
|
263 }; |
|
264 |
|
265 const char * const Bogus::s_strings[] = { |
|
266 QT_TR_NOOP("this should be in Bogus") |
|
267 }; |
|
268 |
|
269 const char * const Bogus::s_strings[SIZE] = { |
|
270 QT_TR_NOOP("this should be in Bogus") |
|
271 }; |
|
272 |
|
273 void bogosity() |
|
274 { |
|
275 // no spaces here. test collateral damage from ignoring equal sign |
|
276 Class::member=QObject::tr("just QObject"); |
|
277 } |