1
0
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:
Jonas Kvinge 2018-09-15 13:35:03 +02:00
parent 6563bec7e4
commit c9256c52bf

View File

@ -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;