kwinglplatform: Use qInfo instead of writing to stdout directly
Ensures the output passes through Qt's message handler infrastructure. Signed-off-by: Victoria Fischer <victoria.fischer@mbition.io>
This commit is contained in:
parent
26752058d6
commit
3ca49ee64e
1 changed files with 1 additions and 2 deletions
|
@ -1136,8 +1136,7 @@ void GLPlatform::detect(OpenGLPlatformInterface platformInterface)
|
|||
|
||||
static void print(const QByteArray &label, const QByteArray &setting)
|
||||
{
|
||||
std::cout << std::setw(40) << std::left
|
||||
<< label.data() << setting.data() << std::endl;
|
||||
qInfo("%-40s%s", label.data(), setting.data());
|
||||
}
|
||||
|
||||
void GLPlatform::printResults() const
|
||||
|
|
Loading…
Reference in a new issue