Changeset View
Changeset View
Standalone View
Standalone View
src/utils/kateglobal.cpp
Show First 20 Lines • Show All 93 Lines • ▼ Show 20 Line(s) | 87 | KTextEditor::EditorPrivate::EditorPrivate(QPointer<KTextEditor::EditorPrivate> &staticInstance) | |||
---|---|---|---|---|---|
94 | , m_dummyMainWindow(nullptr) | 94 | , m_dummyMainWindow(nullptr) | ||
95 | , m_defaultColors(new KateDefaultColors()) | 95 | , m_defaultColors(new KateDefaultColors()) | ||
96 | , m_searchHistoryModel(nullptr) | 96 | , m_searchHistoryModel(nullptr) | ||
97 | , m_replaceHistoryModel(nullptr) | 97 | , m_replaceHistoryModel(nullptr) | ||
98 | { | 98 | { | ||
99 | // remember this | 99 | // remember this | ||
100 | staticInstance = this; | 100 | staticInstance = this; | ||
101 | 101 | | |||
102 | #if QT_VERSION < QT_VERSION_CHECK(5, 9, 1) | ||||
103 | // disable the QML JIT compiler as a protection against an unknown bug | ||||
104 | // in Qt's V4 engine which can provoke a crash in certain of our scripts. | ||||
kfunk: Please add a reference to the bug reports (Qt JIRA, KDE Bugzilla) here. | |||||
105 | // See https://bugreports.qt.io/browse/QTBUG-63045 | ||||
106 | // https://bugs.kde.org/show_bug.cgi?id=384404 | ||||
Minor: "... set to 1" would be sufficient. You're setting it yourself right before, so you can presume it is set (=> no need for qgetenv(...). kfunk: Minor: "... set to 1" would be sufficient. You're setting it yourself right before, so you can… | |||||
I know that of course, but figured that if I was adding a debug output I could just as well have it verify that we got what we asked for. rjvbb: I know that of course, but figured that if I was adding a debug output I could just as well… | |||||
107 | // and https://bugs.kde.org/show_bug.cgi?id=385413 | ||||
108 | qputenv("QV4_FORCE_INTERPRETER", QByteArrayLiteral("1")); | ||||
109 | qCDebug(LOG_KTE) << "QV4_FORCE_INTERPRETER set to 1"; | ||||
110 | #endif | ||||
111 | | ||||
102 | // init libgit2, we require at least 0.22 which has this function! | 112 | // init libgit2, we require at least 0.22 which has this function! | ||
103 | #if LIBGIT2_FOUND | 113 | #if LIBGIT2_FOUND | ||
104 | git_libgit2_init(); | 114 | git_libgit2_init(); | ||
105 | #endif | 115 | #endif | ||
106 | 116 | | |||
107 | /** | 117 | /** | ||
108 | * register some datatypes | 118 | * register some datatypes | ||
109 | */ | 119 | */ | ||
▲ Show 20 Lines • Show All 417 Lines • Show Last 20 Lines |
Please add a reference to the bug reports (Qt JIRA, KDE Bugzilla) here.