https://bugs.kde.org/show_bug.cgi?id=439630
Vlad Zahorodnii <vlad.zahorod...@kde.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Version Fixed In| |5.22.4 Resolution|--- |FIXED Latest Commit| |https://invent.kde.org/plas | |ma/kwin/commit/d29954ae3359 | |c4ac5d6e59cef8249427568bc00 | |a Status|REPORTED |RESOLVED --- Comment #1 from Vlad Zahorodnii <vlad.zahorod...@kde.org> --- Git commit d29954ae3359c4ac5d6e59cef8249427568bc00a by Vlad Zahorodnii. Committed on 19/07/2021 at 09:14. Pushed by vladz into branch 'master'. scripting: Make QTimer constructible If a QObject is exposed to js using QJSEngine::newQMetaObject(), a new instance of it can be made only with constructors exposed by Q_INVOKABLE At the moment, QTimer's constructor is not Q_INVOKABLE, so code such as `const timer = new QTimer()` will not work. FIXED-IN: 5.22.4 M +6 -1 src/scripting/scripting.cpp M +13 -0 src/scripting/scripting.h https://invent.kde.org/plasma/kwin/commit/d29954ae3359c4ac5d6e59cef8249427568bc00a -- You are receiving this mail because: You are watching all bug changes.