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
This commit is contained in:
Nerdopolis Turfwalker 2018-04-22 17:48:44 +02:00 committed by Martin Flöser
parent ddda524974
commit 3c745bb571

View file

@ -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";
}
}