mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 05:37:29 +02:00
@@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
#include <QBoxLayout>
|
#include <QBoxLayout>
|
||||||
#include <QLabel>
|
#include <QLabel>
|
||||||
#if defined( Q_OS_UNIX ) && !defined( Q_OS_MAC )
|
#ifdef Q_WS_X11
|
||||||
#include <QX11Info>
|
#include <QX11Info>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -33,9 +33,9 @@ SplashWidget::SplashWidget()
|
|||||||
{
|
{
|
||||||
//In 2014 there are still operating systems that cannot do transparency
|
//In 2014 there are still operating systems that cannot do transparency
|
||||||
bool compositingWorks = true;
|
bool compositingWorks = true;
|
||||||
#if defined(Q_OS_WIN)
|
#if defined(Q_WS_WIN)
|
||||||
compositingWorks = false;
|
compositingWorks = false;
|
||||||
#elif defined( Q_OS_UNIX ) && !defined( Q_OS_MAC )
|
#elif defined(Q_WS_X11)
|
||||||
if ( !QX11Info::isCompositingManagerRunning() )
|
if ( !QX11Info::isCompositingManagerRunning() )
|
||||||
compositingWorks = false;
|
compositingWorks = false;
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user