[Webkit-unassigned] [Bug 38759] [Qt] Initializing the icon database twice in a row raise an assert

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 10 06:54:55 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=38759


Benjamin Poulain <benjamin.poulain at nokia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME
                 CC|                            |benjamin.poulain at nokia.com




--- Comment #1 from Benjamin Poulain <benjamin.poulain at nokia.com>  2010-11-10 06:54:55 PST ---
Works for me.

Your example crashes because there is no QApplication instance so threads are not working properly. By changing it to:

#include <QApplication>
#include <QWebSettings>

int main(int argc, char** argv)
{
    QApplication app(argc, argv);
    QWebSettings::enablePersistentStorage();
    QWebSettings::globalSettings()->setIconDatabasePath(".");
    return 0;
}

Everything works for me.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list