Constants, please!

meow-7.2.2
Ansariel 2016-04-22 15:09:08 +02:00
parent 3e7d1f25e3
commit 6ecdab1f51
2 changed files with 4 additions and 4 deletions

View File

@ -2736,7 +2736,7 @@ void FSPanelSearchWeb::loadURL(const SearchQuery &p)
url = LLWeb::expandURLSubstitutions(url, subs);
// Finally, load the URL in the webpanel
mWebBrowser->navigateTo(url, "text/html");
mWebBrowser->navigateTo(url, HTTP_CONTENT_TEXT_HTML);
}
////////////////////////////////////////

View File

@ -890,7 +890,7 @@ void FSPanelProfileWeb::updateData()
{
mWebBrowser->setVisible(TRUE);
mPerformanceTimer.start();
mWebBrowser->navigateTo(mURLWebProfile, "text/html");
mWebBrowser->navigateTo(mURLWebProfile, HTTP_CONTENT_TEXT_HTML);
}
}
}
@ -942,7 +942,7 @@ void FSPanelProfileWeb::onCommitLoad(LLUICtrl* ctrl)
{
mWebBrowser->setVisible(TRUE);
mPerformanceTimer.start();
mWebBrowser->navigateTo( mURLHome, "text/html" );
mWebBrowser->navigateTo( mURLHome, HTTP_CONTENT_TEXT_HTML );
}
else if (valstr == "popout")
{
@ -966,7 +966,7 @@ void FSPanelProfileWeb::onCommitWebProfile(LLUICtrl* ctrl)
{
mWebBrowser->setVisible(TRUE);
mPerformanceTimer.start();
mWebBrowser->navigateTo( mURLWebProfile, "text/html" );
mWebBrowser->navigateTo( mURLWebProfile, HTTP_CONTENT_TEXT_HTML );
}
else if (valstr == "popout")
{