Commit c5af9683 authored by Oliver Bock's avatar Oliver Bock

Fixed message types

parent 8e723edb
......@@ -182,7 +182,7 @@ void PulsarAnimationWidget::initializeGL()
}
}
if(pulsarTexture.width() > maxTextureSize) {
qDebug("Warning: maximum texture size exceeded! Scaling down pulsar texture to %ix%i...", maxTextureSize, maxTextureSize);
qWarning("Warning: maximum texture size exceeded! Scaling down pulsar texture to %ix%i...", maxTextureSize, maxTextureSize);
pulsarTexture = pulsarTexture.scaled(maxTextureSize, maxTextureSize, Qt::IgnoreAspectRatio, Qt::SmoothTransformation);
}
......@@ -200,7 +200,7 @@ void PulsarAnimationWidget::initializeGL()
}
}
if(backgroundTexture.width() > maxTextureSize) {
qDebug("Warning: maximum texture size exceeded! Scaling down background texture to %ix%i...", maxTextureSize, maxTextureSize);
qWarning("Warning: maximum texture size exceeded! Scaling down background texture to %ix%i...", maxTextureSize, maxTextureSize);
backgroundTexture = backgroundTexture.scaled(maxTextureSize, maxTextureSize, Qt::IgnoreAspectRatio, Qt::SmoothTransformation);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment