Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJanek Bevendorff <janek@jbev.net>2020-03-09 03:27:16 +0300
committerJonathan White <support@dmapps.us>2020-03-14 17:13:12 +0300
commitb045160e4fcd612def4c5cff55f9469baf12a738 (patch)
tree6c262e2a48355bb054400b647a3d515f54b682fe /tests
parent4ff781fa4846c7e1d9d90230dac9bc2f14369fa4 (diff)
Bundle icons using the Qt resource system.
Simplify resource loading logic and enable reproducible builds. Fixes #2582
Diffstat (limited to 'tests')
-rw-r--r--tests/TestAutoType.cpp4
1 files changed, 2 insertions, 2 deletions
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());