|
|
|
@@ -129,14 +129,6 @@ struct ModuleInfoItem : ui::MenuItem { |
|
|
|
menu->addChild(donateItem); |
|
|
|
} |
|
|
|
|
|
|
|
// changelog |
|
|
|
if (model->plugin->changelogUrl != "") { |
|
|
|
ModuleUrlItem* changelogItem = new ModuleUrlItem; |
|
|
|
changelogItem->text = "Changelog"; |
|
|
|
changelogItem->url = model->plugin->changelogUrl; |
|
|
|
menu->addChild(changelogItem); |
|
|
|
} |
|
|
|
|
|
|
|
// source code |
|
|
|
if (model->plugin->sourceUrl != "") { |
|
|
|
ModuleUrlItem* sourceItem = new ModuleUrlItem; |
|
|
|
@@ -145,6 +137,14 @@ struct ModuleInfoItem : ui::MenuItem { |
|
|
|
menu->addChild(sourceItem); |
|
|
|
} |
|
|
|
|
|
|
|
// changelog |
|
|
|
if (model->plugin->changelogUrl != "") { |
|
|
|
ModuleUrlItem* changelogItem = new ModuleUrlItem; |
|
|
|
changelogItem->text = "Changelog"; |
|
|
|
changelogItem->url = model->plugin->changelogUrl; |
|
|
|
menu->addChild(changelogItem); |
|
|
|
} |
|
|
|
|
|
|
|
// plugin folder |
|
|
|
if (model->plugin->path != "") { |
|
|
|
ModuleFolderItem* pathItem = new ModuleFolderItem; |
|
|
|
|