mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 09:59:59 +03:00
NOISSUE recognize curseforge URLs dropped on top of MultiMC
This commit is contained in:
parent
739a86f171
commit
725ec35635
5 changed files with 30 additions and 7 deletions
|
|
@ -21,6 +21,11 @@ void Flame::UrlResolvingTask::resolveUrl()
|
|||
{
|
||||
setStatus(tr("Resolving URL..."));
|
||||
setProgress(0, 1);
|
||||
QUrl actualUrl(m_url);
|
||||
if(actualUrl.host() != "www.curseforge.com") {
|
||||
emitFailed(tr("Not a Twitch URL."));
|
||||
return;
|
||||
}
|
||||
m_dljob.reset(new NetJob("URL resolver"));
|
||||
|
||||
bool weAreDigging = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue