diff --git a/src/lib/adblock/adblock.qrc b/src/lib/adblock/adblock.qrc index 903bcb64a..b2129246d 100644 --- a/src/lib/adblock/adblock.qrc +++ b/src/lib/adblock/adblock.qrc @@ -1,5 +1,6 @@ + metadata.desktop data/adblock.png data/adblock_big.png data/adblock.html diff --git a/src/lib/adblock/adblockplugin.cpp b/src/lib/adblock/adblockplugin.cpp index b6df92c82..788e49151 100644 --- a/src/lib/adblock/adblockplugin.cpp +++ b/src/lib/adblock/adblockplugin.cpp @@ -36,7 +36,7 @@ AdBlockPlugin::AdBlockPlugin() DesktopFile AdBlockPlugin::metaData() const { - return DesktopFile(); + return DesktopFile(QSL(":adblock/metadata.desktop")); } void AdBlockPlugin::init(InitState state, const QString &settingsPath) diff --git a/src/lib/adblock/metadata.desktop b/src/lib/adblock/metadata.desktop new file mode 100644 index 000000000..c12692fdc --- /dev/null +++ b/src/lib/adblock/metadata.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=AdBlock +Comment=Blocks unwanted web content + +Icon=:adblock/data/adblock.png +Type=Service + +X-Falkon-Author=David Rosca +X-Falkon-Email=nowrep@gmail.com +X-Falkon-Version=1.1.0 +X-Falkon-Settings=false