Showing the changes to interface/src/Application.cpp (1 of 5 files). Show all
Unified · Split
| @@ -73,7 +73,6 @@ · 72 unmodified lines | |||
| 73 | #include "InterfaceVersion.h" | 73 | #include "InterfaceVersion.h" |
| 74 | #include "Menu.h" | 74 | #include "Menu.h" |
| 75 | #include "ModelUploader.h" | 75 | #include "ModelUploader.h" |
| 76 | #include "PaymentManager.h" | ||
| 77 | #include "Util.h" | 76 | #include "Util.h" |
| 78 | #include "devices/MIDIManager.h" | 77 | #include "devices/MIDIManager.h" |
| 79 | #include "devices/OculusManager.h" | 78 | #include "devices/OculusManager.h" |
| @@ -251,11 +250,6 @@ Application::Application(int& argc, char** argv, QElapsedTimer &startup_time) : · 171 unmodified lines | |||
| 251 | connect(&domainHandler, &DomainHandler::settingsReceived, this, &Application::domainSettingsReceived); | 250 | connect(&domainHandler, &DomainHandler::settingsReceived, this, &Application::domainSettingsReceived); |
| 252 | connect(&domainHandler, &DomainHandler::hostnameChanged, Menu::getInstance(), &Menu::clearLoginDialogDisplayedFlag); | 251 | connect(&domainHandler, &DomainHandler::hostnameChanged, Menu::getInstance(), &Menu::clearLoginDialogDisplayedFlag); |
| 253 | 252 | ||
| 254 | // hookup VoxelEditSender to PaymentManager so we can pay for octree edits | ||
| 255 | const PaymentManager& paymentManager = PaymentManager::getInstance(); | ||
| 256 | connect(&_voxelEditSender, &VoxelEditPacketSender::octreePaymentRequired, | ||
| 257 | &paymentManager, &PaymentManager::sendSignedPayment); | ||
| 258 | |||
| 259 | // update our location every 5 seconds in the data-server, assuming that we are authenticated with one | 253 | // update our location every 5 seconds in the data-server, assuming that we are authenticated with one |
| 260 | const qint64 DATA_SERVER_LOCATION_CHANGE_UPDATE_MSECS = 5 * 1000; | 254 | const qint64 DATA_SERVER_LOCATION_CHANGE_UPDATE_MSECS = 5 * 1000; |
| 261 | 255 | ||