From b045160e4fcd612def4c5cff55f9469baf12a738 Mon Sep 17 00:00:00 2001 From: Janek Bevendorff Date: Mon, 9 Mar 2020 01:27:16 +0100 Subject: Bundle icons using the Qt resource system. Simplify resource loading logic and enable reproducible builds. Fixes #2582 --- tests/TestAutoType.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/TestAutoType.cpp b/tests/TestAutoType.cpp index 69ae955b3..e2ab5db1c 100644 --- a/tests/TestAutoType.cpp +++ b/tests/TestAutoType.cpp @@ -25,7 +25,7 @@ #include "autotype/AutoTypePlatformPlugin.h" #include "autotype/test/AutoTypeTestInterface.h" #include "core/Config.h" -#include "core/FilePath.h" +#include "core/Resources.h" #include "crypto/Crypto.h" #include "gui/MessageBox.h" @@ -39,7 +39,7 @@ void TestAutoType::initTestCase() config()->set("security/autotypeask", false); AutoType::createTestInstance(); - QPluginLoader loader(filePath()->pluginPath("keepassx-autotype-test")); + QPluginLoader loader(resources()->pluginPath("keepassx-autotype-test")); loader.setLoadHints(QLibrary::ResolveAllSymbolsHint); QVERIFY(loader.instance()); -- cgit v1.2.3