Skip to content
Commit 42a012f8 authored by Fushan Wen's avatar Fushan Wen
Browse files

ScreenPool: relax assertion in handleScreenAdded

When a new monitor is connected, the existing monitor might emit
geometryChanged before qGuiApp emits screenAdded, but the new screen is
already in qApp->screens(), so m_sizeSortedScreens still doesn't have
the new screen at that point, which will make handleScreenAdded called
twice.

SENTRY: PLASMA-WORKSPACE-29H
BUG: 483432
FIXED-IN: 6.0.4


(cherry picked from commit 0692d762)
parent ff68a265
Pipeline #650748 canceled with stage
in 38 seconds
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