diff --git a/plugins/platforms/fbdev/scene_qpainter_fb_backend.cpp b/plugins/platforms/fbdev/scene_qpainter_fb_backend.cpp index ec311586c9..50e365b4e7 100644 --- a/plugins/platforms/fbdev/scene_qpainter_fb_backend.cpp +++ b/plugins/platforms/fbdev/scene_qpainter_fb_backend.cpp @@ -20,6 +20,7 @@ along with this program. If not, see . #include "scene_qpainter_fb_backend.h" #include "fb_backend.h" #include "composite.h" +#include "logind.h" #include "cursor.h" #include "virtual_terminal.h" // Qt @@ -75,7 +76,7 @@ void FramebufferQPainterBackend::present(int mask, const QRegion &damage) { Q_UNUSED(mask) Q_UNUSED(damage) - if (!VirtualTerminal::self()->isActive()) { + if (!LogindIntegration::self()->isActiveSession()) { return; } QPainter p(&m_backBuffer);