mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 07:49:42 +01:00
Probably make compile on Qt5
This commit is contained in:
parent
8a48ef0c41
commit
103b90c62c
@ -24,7 +24,7 @@
|
||||
|
||||
#include <QBoxLayout>
|
||||
#include <QLabel>
|
||||
#ifdef Q_WS_X11
|
||||
#if defined( Q_OS_UNIX ) && !defined( Q_OS_MAC )
|
||||
#include <QX11Info>
|
||||
#endif
|
||||
|
||||
@ -33,9 +33,9 @@ SplashWidget::SplashWidget()
|
||||
{
|
||||
//In 2014 there are still operating systems that cannot do transparency
|
||||
bool compositingWorks = true;
|
||||
#if defined(Q_WS_WIN)
|
||||
#if defined(Q_OS_WIN)
|
||||
compositingWorks = false;
|
||||
#elif defined(Q_WS_X11)
|
||||
#elif defined( Q_OS_UNIX ) && !defined( Q_OS_MAC )
|
||||
if ( !QX11Info::isCompositingManagerRunning() )
|
||||
compositingWorks = false;
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user