|
@@ -10,6 +10,7 @@ |
|
|
#include <settings.hpp> |
|
|
#include <settings.hpp> |
|
|
#include <history.hpp> |
|
|
#include <history.hpp> |
|
|
#include <string.hpp> |
|
|
#include <string.hpp> |
|
|
|
|
|
#include <tag.hpp> |
|
|
|
|
|
|
|
|
#include <osdialog.h> |
|
|
#include <osdialog.h> |
|
|
#include <thread> |
|
|
#include <thread> |
|
@@ -53,6 +54,12 @@ struct ModuleInfoItem : ui::MenuItem { |
|
|
versionLabel->text = "v" + model->plugin->version; |
|
|
versionLabel->text = "v" + model->plugin->version; |
|
|
menu->addChild(versionLabel); |
|
|
menu->addChild(versionLabel); |
|
|
|
|
|
|
|
|
|
|
|
for (int tagId : model->tags) { |
|
|
|
|
|
ui::MenuLabel* tagLabel = new ui::MenuLabel; |
|
|
|
|
|
tagLabel->text = tag::tagAliases[tagId][0]; |
|
|
|
|
|
menu->addChild(tagLabel); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
if (!model->plugin->author.empty()) { |
|
|
if (!model->plugin->author.empty()) { |
|
|
if (!model->plugin->authorUrl.empty()) { |
|
|
if (!model->plugin->authorUrl.empty()) { |
|
|
ModuleUrlItem* authorItem = new ModuleUrlItem; |
|
|
ModuleUrlItem* authorItem = new ModuleUrlItem; |
|
|