Skip to content

Commit

Permalink
Cleanup|libgui: Replaced debug printouts with log entries
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Mar 21, 2014
1 parent 8364af9 commit bf64d48
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions doomsday/libgui/src/canvas.cpp
Expand Up @@ -359,7 +359,8 @@ void Canvas::resizeGL(int w, int h)
if(d->currentSize != d->pendingSize)
{
#ifdef LIBGUI_CANVAS_USE_DEFERRED_RESIZE
qDebug() << "Canvas" << this << "triggered size to" << w << h << "from" << d->currentSize.asText();
LOGDEV_GL_MSG("Canvas %p triggered size to %ix%i from %s")
<< this << w << h << d->currentSize.asText();
d->resizeTimer.start(100);
#else
updateSize();
Expand All @@ -370,14 +371,7 @@ void Canvas::resizeGL(int w, int h)
void Canvas::updateSize()
{
#ifdef LIBGUI_CANVAS_USE_DEFERRED_RESIZE
/*
if(d->parent && d->parent->isRecreationInProgress())
{
d->resizeTimer.start(100);
return;
}
*/
qDebug() << this << "resizing now";
LOGDEV_GL_MSG("Canvas %p resizing now") << this;
#endif

makeCurrent();
Expand Down

0 comments on commit bf64d48

Please sign in to comment.