mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-14 09:36:25 +01:00
PlaylistView: Fix build with Qt 5
This commit is contained in:
parent
604a246fe8
commit
52ba1ce17f
@ -131,7 +131,11 @@ void PlaylistProxyStyle::drawPrimitive(PrimitiveElement element, const QStyleOpt
|
||||
PlaylistView::PlaylistView(QWidget *parent)
|
||||
: QTreeView(parent),
|
||||
app_(nullptr),
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
|
||||
style_(new PlaylistProxyStyle(QApplication::style()->name())),
|
||||
#else
|
||||
style_(new PlaylistProxyStyle(QApplication::style()->objectName())),
|
||||
#endif
|
||||
playlist_(nullptr),
|
||||
header_(new PlaylistHeader(Qt::Horizontal, this, this)),
|
||||
background_image_type_(AppearanceSettingsPage::BackgroundImageType::Default),
|
||||
|
Loading…
Reference in New Issue
Block a user