mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
Bundle icons using the Qt resource system.
Simplify resource loading logic and enable reproducible builds. Fixes #2582
This commit is contained in:
committed by
Jonathan White
parent
4ff781fa48
commit
b045160e4f
@@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user