mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-25 02:04:23 +00:00
Added method String::clear(), and used it to replace a few uses of String::empty.
This commit is contained in:
parent
488fe56ffe
commit
2623f4d1e1
30 changed files with 51 additions and 42 deletions
|
|
@ -65,14 +65,14 @@ void WebBrowserComponent::stop()
|
|||
|
||||
void WebBrowserComponent::goBack()
|
||||
{
|
||||
lastURL = String::empty;
|
||||
lastURL.clear();
|
||||
blankPageShown = false;
|
||||
|
||||
}
|
||||
|
||||
void WebBrowserComponent::goForward()
|
||||
{
|
||||
lastURL = String::empty;
|
||||
lastURL.clear();
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -95,7 +95,7 @@ void WebBrowserComponent::reloadLastURL()
|
|||
if (lastURL.isNotEmpty())
|
||||
{
|
||||
goToURL (lastURL, &lastHeaders, &lastPostData);
|
||||
lastURL = String::empty;
|
||||
lastURL.clear();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue