Windows QPA: Fix top level flags for Qt::SplashScreen.
Set Qt::FramelessWindowHint so that the translucency logic triggers correctly (raster windows). Fixes the splash screen of Qt Linguist to be transparent. Change-Id: I3d50129b7f15bee0eff6ce3318c7f0fec055dc45 Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
This commit is contained in:
parent
455f5df541
commit
002f5fe52d
@ -487,6 +487,8 @@ static inline void fixTopLevelWindowFlags(Qt::WindowFlags &flags)
|
||||
default:
|
||||
break;
|
||||
}
|
||||
if ((flags & Qt::WindowType_Mask) == Qt::SplashScreen)
|
||||
flags |= Qt::FramelessWindowHint;
|
||||
}
|
||||
|
||||
void WindowCreationData::fromWindow(const QWindow *w, const Qt::WindowFlags flagsIn,
|
||||
|
Loading…
Reference in New Issue
Block a user