mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-11 23:54:18 +00:00
Projucer: A minor tidyup
This commit is contained in:
parent
896a68dd7b
commit
b6a6a7ea26
1 changed files with 2 additions and 6 deletions
|
|
@ -212,9 +212,7 @@ private:
|
|||
return false;
|
||||
}
|
||||
|
||||
bool isValid = (url.getDomain().endsWith ("roli.com") || url.getDomain().endsWith ("juce.com"));
|
||||
|
||||
if (isValid)
|
||||
if (isValidURL (url))
|
||||
lastURL = page;
|
||||
|
||||
return true;
|
||||
|
|
@ -235,9 +233,7 @@ private:
|
|||
URL url (page);
|
||||
bool isGitHub = url.getDomain().endsWith ("github.com");
|
||||
|
||||
if (url.getDomain().endsWith ("roli.com")
|
||||
|| url.getDomain().endsWith ("juce.com")
|
||||
|| isGitHub)
|
||||
if (isValidURL (url) || isGitHub)
|
||||
{
|
||||
url.launchInDefaultBrowser();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue