mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-05-29 13:20:18 +02:00
Implement link for InfoFrame::updateWithResource
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
f3cae427f1
commit
bd8b30c606
@ -147,11 +147,11 @@ void InfoFrame::updateWithResource(const Resource& resource)
|
|||||||
{
|
{
|
||||||
const QString homepage = resource.homepage();
|
const QString homepage = resource.homepage();
|
||||||
|
|
||||||
if (!homepage.isEmpty()) {
|
if (!homepage.isEmpty())
|
||||||
|
setName("<a href=\"" + homepage + "\">" + resource.name() + "</a>");
|
||||||
|
else
|
||||||
|
setName(resource.name());
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
setName(resource.name());
|
|
||||||
setImage();
|
setImage();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user