Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

#assistants: remove TProperty::uiNameOrig

Ivan Mahonin7f0107326a74
diff --git a/toonz/sources/include/tproperty.h b/toonz/sources/include/tproperty.h
index 502165c41..f7c2ea5bd 100644
--- a/toonz/sources/include/tproperty.h
+++ b/toonz/sources/include/tproperty.h
@@ -71,7 +71,6 @@ public:
TProperty(std::string name):
m_name(name),
- m_uiNameOrig(name),
m_visible(true),
m_qstringName(QString::fromStdString(name))
{ }
@@ -80,10 +79,6 @@ public:
virtual TProperty *clone() const = 0;
- // Used only for translation in Qt. Original not translated name.
- const std::string& getUINameOrig() const { return m_uiNameOrig; }
- void setUINameOrig(const std::string &str) { m_uiNameOrig = str; }
-
// Used only for translation in Qt
QString getQStringName() const { return m_qstringName; }
void setQStringName(const QString &str) { m_qstringName = str; }
@@ -108,7 +103,6 @@ public:
private:
TStringId m_name;
- std::string m_uiNameOrig;
QString m_qstringName;
std::string m_id;
std::vector<Listener *> m_listeners;