Showing the changes to interface/src/Application.cpp (1 of 6 files). Show all
Unified · Split
| @@ -248,7 +248,6 @@ Application::Application(int& argc, char** argv, timeval &startup_time) : · 247 unmodified lines | ||
| 248 | 248 | } |
| 249 | 249 | |
| 250 | 250 | Application::~Application() { |
| 251 | − qDebug() << "START Application::~Application()...\n"; | |
| 252 | 251 | // make sure we don't call the idle timer any more |
| 253 | 252 | delete idleTimer; |
| 254 | 253 | |
| @@ -269,7 +268,6 @@ Application::~Application() { · 14 unmodified lines | ||
| 269 | 268 | delete _settings; |
| 270 | 269 | delete _followMode; |
| 271 | 270 | delete _glWidget; |
| 272 | − qDebug() << "DONE Application::~Application()...\n"; | |
| 273 | 271 | } |
| 274 | 272 | |
| 275 | 273 | void Application::restoreSizeAndPosition() { |
| @@ -4429,9 +4427,7 @@ void Application::loadScript() { · 4153 unmodified lines | ||
| 4429 | 4427 | bool wantMenuItems = true; // tells the ScriptEngine object to add menu items for itself |
| 4430 | 4428 | |
| 4431 | 4429 | |
| 4432 | − qDebug("about to create ScriptEngine\n"); | |
| 4433 | 4430 | ScriptEngine* scriptEngine = new ScriptEngine(script, wantMenuItems, fileName, Menu::getInstance()); |
| 4434 | − qDebug("scriptEngine=%p\n",scriptEngine); | |
| 4435 | 4431 | scriptEngine->setupMenuItems(); |
| 4436 | 4432 | |
| 4437 | 4433 | // setup the packet senders and jurisdiction listeners of the script engine's scripting interfaces so |
| @@ -4439,9 +4435,7 @@ void Application::loadScript() { · 1 unmodified line | ||
| 4439 | 4435 | scriptEngine->getVoxelScriptingInterface()->setPacketSender(&_voxelEditSender); |
| 4440 | 4436 | scriptEngine->getParticleScriptingInterface()->setPacketSender(&_particleEditSender); |
| 4441 | 4437 | |
| 4442 | − qDebug("about to create workerThread\n"); | |
| 4443 | 4438 | QThread* workerThread = new QThread(this); |
| 4444 | − qDebug("workerThread=%p\n",workerThread); | |
| 4445 | 4439 | |
| 4446 | 4440 | // when the worker thread is started, call our engine's run.. |
| 4447 | 4441 | connect(workerThread, SIGNAL(started()), scriptEngine, SLOT(run())); |
| @@ -4453,15 +4447,10 @@ void Application::loadScript() { · 5 unmodified lines | ||
| 4453 | 4447 | // when the application is about to quit, stop our script engine so it unwinds properly |
| 4454 | 4448 | connect(this, SIGNAL(aboutToQuit()), scriptEngine, SLOT(stop())); |
| 4455 | 4449 | |
| 4456 | − qDebug("about to scriptEngine->moveToThread(workerThread)\n"); | |
| 4457 | 4450 | scriptEngine->moveToThread(workerThread); |
| 4458 | − qDebug("after scriptEngine->moveToThread(workerThread)\n"); | |
| 4459 | 4451 | |
| 4460 | 4452 | // Starts an event loop, and emits workerThread->started() |
| 4461 | − qDebug("about to workerThread->start()\n"); | |
| 4462 | 4453 | workerThread->start(); |
| 4463 | − qDebug("after workerThread->start()\n"); | |
| 4464 | − | |
| 4465 | 4454 | |
| 4466 | 4455 | // restore the main window's active state |
| 4467 | 4456 | _window->activateWindow(); |