Commit 3c745bb5 authored by Nerdopolis Turfwalker's avatar Nerdopolis Turfwalker Committed by Martin Flöser
Browse files

fb_backend: fix warning

Summary: The warning that the format is unknown was being logged unconditionally

Reviewers: #kwin, bshah

Reviewed By: #kwin, bshah

Subscribers: rkflx, graesslin, cfeck, kwin, #kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D9567
parent ddda5249
......@@ -224,8 +224,9 @@ void FramebufferBackend::initImageFormat()
m_red.offset == 11) {
qCDebug(KWIN_FB) << "Framebuffer Format is RGB16";
m_imageFormat = QImage::Format_RGB16;
} else {
qCWarning(KWIN_FB) << "Framebuffer format is unknown";
}
qCWarning(KWIN_FB) << "Framebuffer format is unknown";
}
}
Supports Markdown
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