mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-04-21 00:12:06 +02:00
Fix OSX build
This commit is contained in:
parent
0cced2538b
commit
d42e2b33c5
@ -31,6 +31,7 @@
|
||||
#include <QLayout>
|
||||
#include <QPainter>
|
||||
#include <QPixmap>
|
||||
#include <QBitmap>
|
||||
#include <QPalette>
|
||||
#include <QApplication>
|
||||
#include <QScrollBar>
|
||||
@ -51,6 +52,10 @@
|
||||
#include <shellapi.h>
|
||||
#endif
|
||||
|
||||
#ifdef QT_MAC_USE_COCOA
|
||||
#include "widgets/SourceTreePopupDialog_mac.h"
|
||||
#endif
|
||||
|
||||
// Defined in qpixmapfilter.cpp, private but exported
|
||||
extern void qt_blurImage( QPainter *p, QImage &blurImage, qreal radius, bool quality, bool alphaOnly, int transposed = 0 );
|
||||
|
||||
@ -908,7 +913,7 @@ drawCompositedPopup( QWidget* widget,
|
||||
// Work around bug in Qt/Mac Cocoa where opening subsequent popups
|
||||
// would incorrectly calculate the background due to it not being
|
||||
// invalidated.
|
||||
SourceTreePopupHelper::clearBackground( this );
|
||||
SourceTreePopupHelper::clearBackground( widget );
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -21,10 +21,6 @@
|
||||
|
||||
#include "utils/TomahawkUtilsGui.h"
|
||||
|
||||
#ifdef QT_MAC_USE_COCOA
|
||||
#include "widgets/SourceTreePopupDialog_mac.h"
|
||||
#endif
|
||||
|
||||
#include <QDebug>
|
||||
#include <QPainter>
|
||||
#include <QPaintEvent>
|
||||
|
Loading…
x
Reference in New Issue
Block a user