https://bugs.kde.org/show_bug.cgi?id=173777

--- Comment #6 from Lays Rodrigues <laysrodriguessi...@gmail.com> ---
Ralf, i'm looking to the code to try fix this bug, in the part of the code
below, i get confused. The type of comparation using QLatin1String isn't more
slow that integer comparison?
umlobject.cpp line 1000
if (element.hasAttribute(QLatin1String("abstract"))) {      // for bkwd compat.
        QString abstract = element.attribute(QLatin1String("abstract"),
QLatin1String("0"));
        m_bAbstract = (bool)abstract.toInt();
    } else {
        QString isAbstract = element.attribute(QLatin1String("isAbstract"),
QLatin1String("false"));
        m_bAbstract = (isAbstract == QLatin1String("true"));
    }

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to