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:
parent
ddda524974
commit
3c745bb571
1 changed files with 2 additions and 1 deletions
|
@ -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";
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue