Commit c4af0819 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Don't use the localized string if it isn't there.

Sometimes we create an koid with just the id.
parent ab5d2d9e
......@@ -72,7 +72,9 @@ public:
QString name() const {
if(m_name.isEmpty()) m_name = m_localizedString.toString();
if (m_name.isEmpty() && !m_localizedString.isEmpty()) {
m_name = m_localizedString.toString();
return m_name;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment