History

temp remove debug verbosity

ZappoMan committed 12 years ago

Commit 32c2aef1 parent f9b7c236 files · +16 −36Browse files

Showing the changes to interface/src/Application.cpp (1 of 6 files). Show all

Unified · Split

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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t