🐛 Include gitmojis in build
This commit is contained in:
@@ -15,6 +15,8 @@ using namespace Qt::StringLiterals;
|
||||
using namespace albert;
|
||||
using namespace std;
|
||||
|
||||
static bool resourcesInitialized = false;
|
||||
|
||||
static const QString CONFIG_KEY = u"copy_format"_s;
|
||||
static const QString VALUE_EMOJI = u"emoji"_s;
|
||||
static const QString VALUE_CODE = u"code"_s;
|
||||
@@ -73,6 +75,12 @@ struct GitmojiItem : Item
|
||||
|
||||
Plugin::Plugin()
|
||||
{
|
||||
if (!resourcesInitialized)
|
||||
{
|
||||
Q_INIT_RESOURCE(gitmojis);
|
||||
resourcesInitialized = true;
|
||||
}
|
||||
|
||||
indexer.parallel = [this](const bool &abort)
|
||||
{
|
||||
vector<IndexItem> r;
|
||||
|
||||
Reference in New Issue
Block a user