mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Improve UI if homepage is missing
This commit is contained in:
parent
94ceee3c7e
commit
7a1d28d51c
1 changed files with 6 additions and 4 deletions
|
@ -123,10 +123,12 @@ void PluginsPage::rebuildContent()
|
||||||
}
|
}
|
||||||
pl->addRow("Authors", new QLabel(authorsTxt));
|
pl->addRow("Authors", new QLabel(authorsTxt));
|
||||||
|
|
||||||
auto *homepage = new QLabel(formatRichLink(plugin->meta.homepage));
|
if (!plugin->meta.homepage.isEmpty())
|
||||||
homepage->setOpenExternalLinks(true);
|
{
|
||||||
|
auto *homepage = new QLabel(formatRichLink(plugin->meta.homepage));
|
||||||
pl->addRow("Homepage", homepage);
|
homepage->setOpenExternalLinks(true);
|
||||||
|
pl->addRow("Homepage", homepage);
|
||||||
|
}
|
||||||
pl->addRow("License", new QLabel(plugin->meta.license));
|
pl->addRow("License", new QLabel(plugin->meta.license));
|
||||||
|
|
||||||
QString cmds;
|
QString cmds;
|
||||||
|
|
Loading…
Reference in a new issue