History

remove now extraneous newlines after switch to QDebug

Stephen Birarda committed 13 years ago

Commit 89d3cfd1 parent afe49bc22 files · +199 −199Browse files

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

Unified · Split

interface/src/Application.cpp+13−13
@@ -210,7 +210,7 @@ Application::Application(int& argc, char** argv, timeval &startup_time) : · 209 unmodified lines
210210 {
211211 _applicationStartupTime = startup_time;
212212 _window->setWindowTitle("Interface");
213− qDebug("Interface Startup:\n");
213+ qDebug("Interface Startup:");
214214
215215 unsigned int listenPort = 0; // bind to an ephemeral port by default
216216 const char** constArgv = const_cast<const char**>(argv);
@@ -233,7 +233,7 @@ Application::Application(int& argc, char** argv, timeval &startup_time) : · 16 unmodified lines
233233
234234 // Handle Local Domain testing with the --local command line
235235 if (cmdOptionExists(argc, constArgv, "--local")) {
236− qDebug("Local Domain MODE!\n");
236+ qDebug("Local Domain MODE!");
237237
238238 NodeList::getInstance()->setDomainIPToLocalhost();
239239 }
@@ -297,7 +297,7 @@ Application::Application(int& argc, char** argv, timeval &startup_time) : · 57 unmodified lines
297297 }
298298
299299 void Application::initializeGL() {
300− qDebug( "Created Display Window.\n" );
300+ qDebug( "Created Display Window." );
301301
302302 // initialize glut for shape drawing; Qt apparently initializes it on OS X
303303 #ifndef __APPLE__
@@ -312,10 +312,10 @@ void Application::initializeGL() { · 8 unmodified lines
312312 _viewFrustumOffsetCamera.setFarClip(500.0 * TREE_SCALE);
313313
314314 initDisplay();
315− qDebug( "Initialized Display.\n" );
315+ qDebug( "Initialized Display." );
316316
317317 init();
318− qDebug( "Init() complete.\n" );
318+ qDebug( "Init() complete." );
319319
320320 // Check to see if the user passed in a command line option for randomizing colors
321321 bool wantColorRandomizer = !arguments().contains("--NoColorRandomizer");
@@ -324,13 +324,13 @@ void Application::initializeGL() { · 2 unmodified lines
324324 // Voxel File. If so, load it now.
325325 if (!_voxelsFilename.isEmpty()) {
326326 _voxels.loadVoxelsFile(_voxelsFilename.constData(), wantColorRandomizer);
327− qDebug("Local Voxel File loaded.\n");
327+ qDebug("Local Voxel File loaded.");
328328 }
329329
330330 // create thread for receipt of data via UDP
331331 if (_enableNetworkThread) {
332332 pthread_create(&_networkReceiveThread, NULL, networkReceive, NULL);
333− qDebug("Network receive thread created.\n");
333+ qDebug("Network receive thread created.");
334334 }
335335
336336 // call terminate before exiting
@@ -351,7 +351,7 @@ void Application::initializeGL() { · 14 unmodified lines
351351 float startupTime = (usecTimestampNow() - usecTimestamp(&_applicationStartupTime)) / 1000000.0;
352352 _justStarted = false;
353353 char title[50];
354− sprintf(title, "Interface: %4.2f seconds\n", startupTime);
354+ sprintf(title, "Interface: %4.2f seconds", startupTime);
355355 qDebug("%s", title);
356356 _window->setWindowTitle(title);
357357
@@ -1446,7 +1446,7 @@ void Application::importVoxels() { · 1088 unmodified lines
14461446 if (fileNameString.endsWith(".png", Qt::CaseInsensitive)) {
14471447 QImage pngImage = QImage(fileName);
14481448 if (pngImage.height() != pngImage.width()) {
1449− qDebug("ERROR: Bad PNG size: height != width.\n");
1449+ qDebug("ERROR: Bad PNG size: height != width.");
14501450 return;
14511451 }
14521452
@@ -1758,7 +1758,7 @@ void Application::init() { · 305 unmodified lines
17581758 _audio.setJitterBufferSamples(_audioJitterBufferSamples);
17591759 }
17601760
1761− qDebug("Loaded settings.\n");
1761+ qDebug("Loaded settings.");
17621762
17631763 sendAvatarVoxelURLMessage(_myAvatar.getVoxels()->getVoxelURL());
17641764
@@ -2771,7 +2771,7 @@ glm::vec2 Application::getScaledScreenPoint(glm::vec2 projectedPoint) { · 1006 unmodified lines
27712771 // render the coverage map on screen
27722772 void Application::renderCoverageMapV2() {
27732773
2774− //qDebug("renderCoverageMap()\n");
2774+ //qDebug("renderCoverageMap()");
27752775
27762776 glDisable(GL_LIGHTING);
27772777 glLineWidth(2.0);
@@ -2816,7 +2816,7 @@ void Application::renderCoverageMapsV2Recursively(CoverageMapV2* map) { · 38 unmodified lines
28162816 // render the coverage map on screen
28172817 void Application::renderCoverageMap() {
28182818
2819− //qDebug("renderCoverageMap()\n");
2819+ //qDebug("renderCoverageMap()");
28202820
28212821 glDisable(GL_LIGHTING);
28222822 glLineWidth(2.0);
@@ -3147,7 +3147,7 @@ void Application::eyedropperVoxelUnderCursor() { · 324 unmodified lines
31473147 }
31483148
31493149 void Application::goHome() {
3150− qDebug("Going Home!\n");
3150+ qDebug("Going Home!");
31513151 _myAvatar.setPosition(START_LOCATION);
31523152 }
31533153

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