1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 15:59:42 +01:00

Revert "Probably make compile on Qt5"

This reverts commit 103b90c62cd166f0394e71779743c3978823ca16.
This commit is contained in:
Uwe L. Korn 2014-01-17 19:37:30 +00:00
parent 103b90c62c
commit e04c46288c

View File

@ -24,7 +24,7 @@
#include <QBoxLayout>
#include <QLabel>
#if defined( Q_OS_UNIX ) && !defined( Q_OS_MAC )
#ifdef Q_WS_X11
#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_OS_WIN)
#if defined(Q_WS_WIN)
compositingWorks = false;
#elif defined( Q_OS_UNIX ) && !defined( Q_OS_MAC )
#elif defined(Q_WS_X11)
if ( !QX11Info::isCompositingManagerRunning() )
compositingWorks = false;
#endif