Changeset 36763 in webkit for trunk/JavaScriptCore/kjs/Shell.cpp


Ignore:
Timestamp:
Sep 22, 2008, 6:27:51 AM (17 years ago)
Author:
[email protected]
Message:

2008-09-22 Tor Arne Vestbø <[email protected]>

Reviewed by Simon.

Initialize QCoreApplication in kjs binary/Shell.cpp

This allows us to use QCoreApplication::instance() to
get the main thread in ThreadingQt.cpp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/Shell.cpp

    r36726 r36763  
    7070
    7171#if PLATFORM(QT)
     72#include <QCoreApplication>
    7273#include <QDateTime>
    7374#endif
     
    300301    _CrtSetReportFile(_CRT_ASSERT, _CRTDBG_FILE_STDERR);
    301302    _CrtSetReportMode(_CRT_ASSERT, _CRTDBG_MODE_FILE);
     303#endif
     304
     305#if PLATFORM(QT)
     306    QCoreApplication app(argc, argv);
    302307#endif
    303308
Note: See TracChangeset for help on using the changeset viewer.