mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-05-24 01:01:18 -04:00
Bundle icons using the Qt resource system.
Simplify resource loading logic and enable reproducible builds. Fixes #2582
This commit is contained in:
parent
4ff781fa48
commit
b045160e4f
56 changed files with 630 additions and 548 deletions
|
@ -18,7 +18,7 @@
|
|||
|
||||
#include "AgentSettingsPage.h"
|
||||
#include "AgentSettingsWidget.h"
|
||||
#include "core/FilePath.h"
|
||||
#include "core/Resources.h"
|
||||
|
||||
AgentSettingsPage::AgentSettingsPage(DatabaseTabWidget* tabWidget)
|
||||
{
|
||||
|
@ -36,7 +36,7 @@ QString AgentSettingsPage::name()
|
|||
|
||||
QIcon AgentSettingsPage::icon()
|
||||
{
|
||||
return FilePath::instance()->icon("apps", "utilities-terminal");
|
||||
return Resources::instance()->icon("utilities-terminal");
|
||||
}
|
||||
|
||||
QWidget* AgentSettingsPage::createWidget()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue