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
@@ -31,9 +31,9 @@
|
||||
#include "core/Config.h"
|
||||
#include "core/Database.h"
|
||||
#include "core/Entry.h"
|
||||
#include "core/FilePath.h"
|
||||
#include "core/Group.h"
|
||||
#include "core/ListDeleter.h"
|
||||
#include "core/Resources.h"
|
||||
#include "core/Tools.h"
|
||||
#include "gui/MessageBox.h"
|
||||
|
||||
@@ -63,7 +63,7 @@ AutoType::AutoType(QObject* parent, bool test)
|
||||
pluginName += "test";
|
||||
}
|
||||
|
||||
QString pluginPath = filePath()->pluginPath(pluginName);
|
||||
QString pluginPath = resources()->pluginPath(pluginName);
|
||||
|
||||
if (!pluginPath.isEmpty()) {
|
||||
#ifdef WITH_XC_AUTOTYPE
|
||||
|
||||
Reference in New Issue
Block a user