mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2024-12-18 11:39:31 +01:00
Disable deprecation warning for QMacCocoaViewContainer
This commit is contained in:
parent
9852e588c1
commit
1819f64467
@ -57,6 +57,10 @@ static inline void setupLayout(NSView *cocoaView, QWidget *parent) {
|
||||
parent->setAttribute(Qt::WA_NativeWindow);
|
||||
QVBoxLayout *layout = new QVBoxLayout(parent);
|
||||
layout->setMargin(0);
|
||||
// FIXME
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
layout->addWidget(new QMacCocoaViewContainer(cocoaView, parent));
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user