1
0
Fork 0
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:
jules 2013-12-01 11:32:39 +00:00
parent 488fe56ffe
commit 2623f4d1e1
30 changed files with 51 additions and 42 deletions

View file

@ -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();
}
}