mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2024-12-26 08:13:17 +01:00
Check for QT version
This commit is contained in:
parent
6563bec7e4
commit
c9256c52bf
@ -162,7 +162,7 @@ OSDPretty::~OSDPretty() {
|
||||
}
|
||||
|
||||
bool OSDPretty::IsTransparencyAvailable() {
|
||||
#ifdef HAVE_X11
|
||||
#if defined(HAVE_X11) && (QT_VERSION >= QT_VERSION_CHECK(5, 7, 0))
|
||||
return QX11Info::isCompositingManagerRunning();
|
||||
#endif
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user