summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/linguist/shared/translatormessage.cpp11
-rw-r--r--tools/linguist/shared/translatormessage.h1
2 files changed, 0 insertions, 12 deletions
diff --git a/tools/linguist/shared/translatormessage.cpp b/tools/linguist/shared/translatormessage.cpp
index db6f333..0e7cb18 100644
--- a/tools/linguist/shared/translatormessage.cpp
+++ b/tools/linguist/shared/translatormessage.cpp
@@ -156,17 +156,6 @@ bool TranslatorMessage::operator==(const TranslatorMessage& m) const
}
-bool TranslatorMessage::operator<(const TranslatorMessage& m) const
-{
- if (m_context != m.m_context)
- return m_context < m.m_context;
- if (m_sourcetext != m.m_sourcetext)
- return m_sourcetext < m.m_sourcetext;
- if (m_comment != m.m_comment)
- return m_comment < m.m_comment;
- return m_id < m.m_id;
-}
-
int qHash(const TranslatorMessage &msg)
{
return
diff --git a/tools/linguist/shared/translatormessage.h b/tools/linguist/shared/translatormessage.h
index 675bba7..fb3cc4b 100644
--- a/tools/linguist/shared/translatormessage.h
+++ b/tools/linguist/shared/translatormessage.h
@@ -110,7 +110,6 @@ public:
}
bool operator==(const TranslatorMessage& m) const;
- bool operator<(const TranslatorMessage& m) const;
QString fileName() const { return m_fileName; }
void setFileName(const QString &fileName) { m_fileName = fileName; }