mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-30 00:55:33 +01:00
Fix compile warning in qsearchfield_mac.mm
This commit is contained in:
parent
d27a571882
commit
7afde0e93f
@ -159,7 +159,7 @@ QSearchField::QSearchField(QWidget *parent) : QWidget(parent) {
|
|||||||
NSSearchField *search = [[QocoaSearchField alloc] init];
|
NSSearchField *search = [[QocoaSearchField alloc] init];
|
||||||
QSearchFieldDelegate *delegate = [[QSearchFieldDelegate alloc] init];
|
QSearchFieldDelegate *delegate = [[QSearchFieldDelegate alloc] init];
|
||||||
pimpl = delegate->pimpl = new QSearchFieldPrivate(this, search);
|
pimpl = delegate->pimpl = new QSearchFieldPrivate(this, search);
|
||||||
[search setDelegate:delegate];
|
[search setDelegate:(id<NSSearchFieldDelegate>)delegate];
|
||||||
setupLayout(search, this);
|
setupLayout(search, this);
|
||||||
setFixedHeight(24);
|
setFixedHeight(24);
|
||||||
setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
|
setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
|
||||||
@ -167,7 +167,9 @@ QSearchField::QSearchField(QWidget *parent) : QWidget(parent) {
|
|||||||
[pool drain];
|
[pool drain];
|
||||||
}
|
}
|
||||||
|
|
||||||
void QSearchField::setIconSize(const int iconsize) {}
|
void QSearchField::setIconSize(const int iconsize) {
|
||||||
|
Q_UNUSED(iconsize);
|
||||||
|
}
|
||||||
|
|
||||||
void QSearchField::setText(const QString &text) {
|
void QSearchField::setText(const QString &text) {
|
||||||
Q_ASSERT(pimpl);
|
Q_ASSERT(pimpl);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user