forked from qt-creator/qt-creator
Translations: Use QCoreApplication::translate() instead of tr()
QCoreApplication::translate() takes a context parameter, tr() does not.
We want the first one.
Amends: 48affa1889
Change-Id: Ibca327a39097dfcdb81a30e561161d3275c61d1d
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -46,8 +46,8 @@ private:
|
||||
void toggleThreadRestriction(QAction *action);
|
||||
|
||||
Utils::Perspective m_perspective{Constants::CtfVisualizerPerspectiveId,
|
||||
QCoreApplication::tr("::CtfVisualizer",
|
||||
"Chrome Trace Format Visualizer")};
|
||||
QCoreApplication::translate("::CtfVisualizer",
|
||||
"Chrome Trace Format Visualizer")};
|
||||
|
||||
bool m_isLoading;
|
||||
QScopedPointer<QAction> m_loadJson;
|
||||
|
||||
Reference in New Issue
Block a user