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

fi...@tutanota.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|REPORTED                    |CONFIRMED

--- Comment #1 from fi...@tutanota.com ---
This also causes problems for the alttransview.cpp AltTransView::process()
logic, not just for displaying entries, because the function should exit early
if there are no entries.

The empty initial entry is added to m_storage in catalog.cpp
Catalog::altTrans() because that function returns a QVector<AltTrans>, and the
first entry (typically? always?) has empty source and target strings because of
this code, where the altTrans() contains an entry that has empty source and
target strings:
    if (m_storage)
        result = m_storage->altTrans(pos);

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

Reply via email to