removing unused variables

This commit is contained in:
Wayne Chen 2018-09-10 16:56:13 -07:00
parent 45b2098346
commit e5a87aa58c
3 changed files with 0 additions and 6 deletions

View file

@ -6421,7 +6421,6 @@ void Application::clearDomainAvatars() {
void Application::domainURLChanged(QUrl domainURL) {
// disable physics until we have enough information about our new location to not cause craziness.
resetPhysicsReadyInformation();
auto urlStr = domainURL.toString().toStdString();
setIsServerlessMode(domainURL.scheme() != URL_SCHEME_HIFI);
if (isServerlessMode()) {
loadServerlessDomain(domainURL);
@ -6432,7 +6431,6 @@ void Application::domainURLChanged(QUrl domainURL) {
void Application::goToErrorDomainURL(QUrl errorDomainURL) {
// disable physics until we have enough information about our new location to not cause craziness.
resetPhysicsReadyInformation();
auto urlStr = errorDomainURL.toString().toStdString();
setIsServerlessMode(errorDomainURL.scheme() != URL_SCHEME_HIFI);
if (isServerlessMode()) {
loadServerlessDomain(errorDomainURL, true);

View file

@ -38,7 +38,6 @@ void ConnectionMonitor::init() {
connect(&_timer, &QTimer::timeout, this, []() {
qDebug() << "ConnectionMonitor: Showing connection failure window";
//DependencyManager::get<DialogsManager>()->setDomainConnectionFailureVisibility(true);
});
}
@ -48,5 +47,4 @@ void ConnectionMonitor::startTimer() {
void ConnectionMonitor::stopTimer() {
_timer.stop();
//DependencyManager::get<DialogsManager>()->setDomainConnectionFailureVisibility(false);
}

View file

@ -48,7 +48,6 @@ QString AddressManager::getProtocol() const {
QUrl AddressManager::currentAddress(bool domainOnly) const {
QUrl hifiURL = _domainURL;
auto urlStr = hifiURL.toString().toStdString();
if (!domainOnly && hifiURL.scheme() == URL_SCHEME_HIFI) {
hifiURL.setPath(currentPath());
@ -156,7 +155,6 @@ void AddressManager::goForward() {
void AddressManager::goToLastAddress() {
// this should always return something as long as the URL isn't empty.
auto urlStr = _lastVisitedURL.toString().toStdString();
handleUrl(_lastVisitedURL, LookupTrigger::AttemptedRefresh);
}