| @@ -62,10 +62,17 @@ struct ModuleInfoItem : ui::MenuItem { | |||||
| menu->addChild(tagLabel); | menu->addChild(tagLabel); | ||||
| } | } | ||||
| if (model->plugin->pluginUrl != "") { | |||||
| ModuleUrlItem* websiteItem = new ModuleUrlItem; | |||||
| websiteItem->text = "Plugin website"; | |||||
| websiteItem->url = model->plugin->pluginUrl; | |||||
| menu->addChild(websiteItem); | |||||
| } | |||||
| if (model->plugin->author != "") { | if (model->plugin->author != "") { | ||||
| if (model->plugin->authorUrl != "") { | if (model->plugin->authorUrl != "") { | ||||
| ModuleUrlItem* authorItem = new ModuleUrlItem; | ModuleUrlItem* authorItem = new ModuleUrlItem; | ||||
| authorItem->text = model->plugin->author; | |||||
| authorItem->text = model->plugin->author + " website"; | |||||
| authorItem->url = model->plugin->authorUrl; | authorItem->url = model->plugin->authorUrl; | ||||
| menu->addChild(authorItem); | menu->addChild(authorItem); | ||||
| } | } | ||||
| @@ -90,13 +97,6 @@ struct ModuleInfoItem : ui::MenuItem { | |||||
| menu->addChild(manualItem); | menu->addChild(manualItem); | ||||
| } | } | ||||
| if (model->plugin->pluginUrl != "") { | |||||
| ModuleUrlItem* websiteItem = new ModuleUrlItem; | |||||
| websiteItem->text = "Plugin website"; | |||||
| websiteItem->url = model->plugin->pluginUrl; | |||||
| menu->addChild(websiteItem); | |||||
| } | |||||
| if (model->plugin->sourceUrl != "") { | if (model->plugin->sourceUrl != "") { | ||||
| ModuleUrlItem* sourceItem = new ModuleUrlItem; | ModuleUrlItem* sourceItem = new ModuleUrlItem; | ||||
| sourceItem->text = "Source code"; | sourceItem->text = "Source code"; | ||||