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
@@ -18,7 +18,7 @@
|
||||
#include "ReportsPageStatistics.h"
|
||||
|
||||
#include "ReportsWidgetStatistics.h"
|
||||
#include "core/FilePath.h"
|
||||
#include "core/Resources.h"
|
||||
|
||||
#include <QApplication>
|
||||
|
||||
@@ -29,7 +29,7 @@ QString ReportsPageStatistics::name()
|
||||
|
||||
QIcon ReportsPageStatistics::icon()
|
||||
{
|
||||
return FilePath::instance()->icon("actions", "statistics");
|
||||
return Resources::instance()->icon("statistics");
|
||||
}
|
||||
|
||||
QWidget* ReportsPageStatistics::createWidget()
|
||||
|
||||
Reference in New Issue
Block a user