Commit 9196bb7d authored by Milian Wolff's avatar Milian Wolff
Browse files

Call static QCoreApplication API directly

Fixes UBSAN warning when qApp turned into QGuiApplication which
we don't have in this test.
parent 8008ec3e
......@@ -93,7 +93,7 @@ Q_SIGNALS:
void TestMIDBus::initTestCase()
{
qApp->addLibraryPath(QStringLiteral(TEST_PLUGIN_DIR));
QCoreApplication::addLibraryPath(QStringLiteral(TEST_PLUGIN_DIR));
KDevelop::AutoTestShell::init({QStringLiteral("testdebugger")});
KDevelop::TestCore::initialize(KDevelop::Core::NoUi);
......
Supports Markdown
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