1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-28 02:30:05 +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

@ -60,14 +60,14 @@ void WebBrowserComponent::stop()
void WebBrowserComponent::goBack()
{
lastURL = String::empty;
lastURL.clear();
blankPageShown = false;
}
void WebBrowserComponent::goForward()
{
lastURL = String::empty;
lastURL.clear();
}
@ -90,7 +90,7 @@ void WebBrowserComponent::reloadLastURL()
if (lastURL.isNotEmpty())
{
goToURL (lastURL, &lastHeaders, &lastPostData);
lastURL = String::empty;
lastURL.clear();
}
}