Display the download hyperlink in QMessageBox

This commit is contained in:
parhelia512 2025-03-23 21:11:23 +08:00 committed by Mahdi
parent 22043e1369
commit fbbc5886a9

View File

@ -72,7 +72,7 @@ int main(int argc, char* argv[]) {
#ifdef Q_OS_WIN
if (!checkVCRedist())
{
QMessageBox::critical(nullptr, "Cannot run Nekoray", "You need to install VC 2022 Redistributable, Download it from: https://aka.ms/vs/17/release/vc_redist.x64.exe");
QMessageBox::critical(nullptr, "Cannot run Nekoray", "You need to install VC 2022 Redistributable.<br>Download it from <a href='https://aka.ms/vs/17/release/vc_redist.x64.exe'>here</a>".);
return 1;
}
#endif