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

Kai Uwe Broulik <k...@privat.broulik.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |k...@privat.broulik.de

--- Comment #3 from Kai Uwe Broulik <k...@privat.broulik.de> ---
int BackgroundListModel::indexOf(const QString &path) const
{
    for (int i = 0; i < m_packages.size(); i++) {
        // packages will end with a '/', but the path passed in may not
        QString package = m_packages[i].path();
        if (package.endsWith(QChar::fromLatin1('/'))) {
            package.chop(1);
        }
        // remove eventual file:///
        const QString filteredPath = QUrl(path).path();

That obviously fails encoding/decoding

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

Reply via email to