From 51ba06f7c4b0f15c0cca3804e38ad7d76547c86d Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 28 Jun 2020 05:49:10 -0400 Subject: [PATCH] CScriptEditSidebar: Mark strings as translatable where applicable --- src/Editor/WorldEditor/CScriptEditSidebar.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Editor/WorldEditor/CScriptEditSidebar.cpp b/src/Editor/WorldEditor/CScriptEditSidebar.cpp index 7b40254a..d0bc9bdd 100644 --- a/src/Editor/WorldEditor/CScriptEditSidebar.cpp +++ b/src/Editor/WorldEditor/CScriptEditSidebar.cpp @@ -22,8 +22,8 @@ CScriptEditSidebar::CScriptEditSidebar(CWorldEditor *pEditor) mpInstancesTab = new WInstancesTab(pEditor, this); mpTabWidget->setIconSize(QSize(24, 24)); - mpTabWidget->addTab(mpCreateTab, QIcon(":/icons/Create.svg"), ""); - mpTabWidget->addTab(mpModifyTab, QIcon(":/icons/Modify.svg"), ""); - mpTabWidget->addTab(mpInstancesTab, QIcon(":/icons/Instances.svg"), ""); + mpTabWidget->addTab(mpCreateTab, QIcon(QStringLiteral(":/icons/Create.svg")), {}); + mpTabWidget->addTab(mpModifyTab, QIcon(QStringLiteral(":/icons/Modify.svg")), {}); + mpTabWidget->addTab(mpInstancesTab, QIcon(QStringLiteral(":/icons/Instances.svg")), {}); pLayout->addWidget(mpTabWidget); }