From d52fcccb831b63dc1add068084369543d0a45246 Mon Sep 17 00:00:00 2001 From: Jonathan Feenstra <26406078+JonathanFeenstra@users.noreply.github.com> Date: Mon, 18 Aug 2025 07:55:52 +0200 Subject: Add author and uploader columns to mod list (#2269) --- src/modlistcontextmenu.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/modlistcontextmenu.cpp') diff --git a/src/modlistcontextmenu.cpp b/src/modlistcontextmenu.cpp index fefb1d73..d2c8e2a1 100644 --- a/src/modlistcontextmenu.cpp +++ b/src/modlistcontextmenu.cpp @@ -443,6 +443,12 @@ void ModListContextMenu::addBackupActions(ModInfo::Ptr mod) }); } + if (!mod->uploaderUrl().isEmpty()) { + addAction(tr("Visit the uploader's profile"), [=]() { + m_actions.visitUploaderProfile(m_selected); + }); + } + const auto url = mod->parseCustomURL(); if (url.isValid()) { addAction(tr("Visit on %1").arg(url.host()), [=]() { @@ -612,6 +618,12 @@ void ModListContextMenu::addRegularActions(ModInfo::Ptr mod) }); } + if (!mod->uploaderUrl().isEmpty()) { + addAction(tr("Visit the uploader's profile"), [=]() { + m_actions.visitUploaderProfile(m_selected); + }); + } + const auto url = mod->parseCustomURL(); if (url.isValid()) { addAction(tr("Visit on %1").arg(url.host()), [=]() { -- cgit v1.3.1