mirror of
https://github.com/JulianGro/overte.git
synced 2025-08-10 23:07:27 +02:00
removing unused variables
This commit is contained in:
parent
45b2098346
commit
e5a87aa58c
3 changed files with 0 additions and 6 deletions
|
@ -6421,7 +6421,6 @@ void Application::clearDomainAvatars() {
|
||||||
void Application::domainURLChanged(QUrl domainURL) {
|
void Application::domainURLChanged(QUrl domainURL) {
|
||||||
// disable physics until we have enough information about our new location to not cause craziness.
|
// disable physics until we have enough information about our new location to not cause craziness.
|
||||||
resetPhysicsReadyInformation();
|
resetPhysicsReadyInformation();
|
||||||
auto urlStr = domainURL.toString().toStdString();
|
|
||||||
setIsServerlessMode(domainURL.scheme() != URL_SCHEME_HIFI);
|
setIsServerlessMode(domainURL.scheme() != URL_SCHEME_HIFI);
|
||||||
if (isServerlessMode()) {
|
if (isServerlessMode()) {
|
||||||
loadServerlessDomain(domainURL);
|
loadServerlessDomain(domainURL);
|
||||||
|
@ -6432,7 +6431,6 @@ void Application::domainURLChanged(QUrl domainURL) {
|
||||||
void Application::goToErrorDomainURL(QUrl errorDomainURL) {
|
void Application::goToErrorDomainURL(QUrl errorDomainURL) {
|
||||||
// disable physics until we have enough information about our new location to not cause craziness.
|
// disable physics until we have enough information about our new location to not cause craziness.
|
||||||
resetPhysicsReadyInformation();
|
resetPhysicsReadyInformation();
|
||||||
auto urlStr = errorDomainURL.toString().toStdString();
|
|
||||||
setIsServerlessMode(errorDomainURL.scheme() != URL_SCHEME_HIFI);
|
setIsServerlessMode(errorDomainURL.scheme() != URL_SCHEME_HIFI);
|
||||||
if (isServerlessMode()) {
|
if (isServerlessMode()) {
|
||||||
loadServerlessDomain(errorDomainURL, true);
|
loadServerlessDomain(errorDomainURL, true);
|
||||||
|
|
|
@ -38,7 +38,6 @@ void ConnectionMonitor::init() {
|
||||||
|
|
||||||
connect(&_timer, &QTimer::timeout, this, []() {
|
connect(&_timer, &QTimer::timeout, this, []() {
|
||||||
qDebug() << "ConnectionMonitor: Showing connection failure window";
|
qDebug() << "ConnectionMonitor: Showing connection failure window";
|
||||||
//DependencyManager::get<DialogsManager>()->setDomainConnectionFailureVisibility(true);
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -48,5 +47,4 @@ void ConnectionMonitor::startTimer() {
|
||||||
|
|
||||||
void ConnectionMonitor::stopTimer() {
|
void ConnectionMonitor::stopTimer() {
|
||||||
_timer.stop();
|
_timer.stop();
|
||||||
//DependencyManager::get<DialogsManager>()->setDomainConnectionFailureVisibility(false);
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -48,7 +48,6 @@ QString AddressManager::getProtocol() const {
|
||||||
QUrl AddressManager::currentAddress(bool domainOnly) const {
|
QUrl AddressManager::currentAddress(bool domainOnly) const {
|
||||||
QUrl hifiURL = _domainURL;
|
QUrl hifiURL = _domainURL;
|
||||||
|
|
||||||
auto urlStr = hifiURL.toString().toStdString();
|
|
||||||
|
|
||||||
if (!domainOnly && hifiURL.scheme() == URL_SCHEME_HIFI) {
|
if (!domainOnly && hifiURL.scheme() == URL_SCHEME_HIFI) {
|
||||||
hifiURL.setPath(currentPath());
|
hifiURL.setPath(currentPath());
|
||||||
|
@ -156,7 +155,6 @@ void AddressManager::goForward() {
|
||||||
|
|
||||||
void AddressManager::goToLastAddress() {
|
void AddressManager::goToLastAddress() {
|
||||||
// this should always return something as long as the URL isn't empty.
|
// this should always return something as long as the URL isn't empty.
|
||||||
auto urlStr = _lastVisitedURL.toString().toStdString();
|
|
||||||
handleUrl(_lastVisitedURL, LookupTrigger::AttemptedRefresh);
|
handleUrl(_lastVisitedURL, LookupTrigger::AttemptedRefresh);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue