Fix crash: add missing Q_INTERFACES to OktetaDocument for IDocument

Some places rely on this being properly set due to using qobject_cast
for quick cross-casting.

BUG: 410820
FIXED-IN: 5.4.1
parent 7cd3dd22
......@@ -43,6 +43,7 @@ class OktetaPlugin;
class OktetaDocument : public Sublime::UrlDocument, public IDocument
{
Q_OBJECT
Q_INTERFACES(KDevelop::IDocument)
public:
OktetaDocument( const QUrl &url, ICore* core );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment