Bundle icons using the Qt resource system.

Simplify resource loading logic and enable reproducible builds.
Fixes #2582
This commit is contained in:
Janek Bevendorff authored and Jonathan White committed 2020-03-14 10:13:12 -04:00
1 parent 4ff781fa48
commit b045160e4f
56 files changed
+630 -548

No files matched your search

+2 -2
View File
@@ -19,7 +19,7 @@
#include "EntryURLModel.h"
#include "core/Entry.h"
#include "core/FilePath.h"
#include "core/Resources.h"
#include "core/Tools.h"
#include <algorithm>
@@ -27,7 +27,7 @@
EntryURLModel::EntryURLModel(QObject* parent)
: QStandardItemModel(parent)
, m_entryAttributes(nullptr)
, m_errorIcon(filePath()->icon("status", "dialog-error"))
, m_errorIcon(resources()->icon("dialog-error"))
{
}