[kmail2] [Bug 335113] kmail crashes when searching in quick filter

Laurent Montel montel at kde.org
Wed May 21 08:03:39 BST 2014


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

Laurent Montel <montel at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
   Version Fixed In|                            |4.13.1
         Resolution|---                         |FIXED

--- Comment #3 from Laurent Montel <montel at kde.org> ---
finally we fixed it in 4.13.1
see:
    const QString dir = KGlobal::dirs()->localxdgdatadir() + "baloo/email/";
    Xapian::Database db;
    try {
        db = Xapian::Database(QFile::encodeName(dir).constData());
    } catch (const Xapian::DatabaseError& e) {
        kWarning() << "Failed to open Xapian database:" <<
QString::fromStdString(e.get_error_string());
        return ResultIterator();
    }

=> we catch error.
It's in baloo.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list