mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-30 11:04:57 +01:00
Fix compilation of QSearchField in Qt 4.6
This commit is contained in:
parent
1ebca65c0b
commit
c1def8bb26
4
3rdparty/qocoa/qsearchfield_nonmac.cpp
vendored
4
3rdparty/qocoa/qsearchfield_nonmac.cpp
vendored
@ -105,7 +105,11 @@ void QSearchField::setPlaceholderText(const QString &text)
|
|||||||
}
|
}
|
||||||
|
|
||||||
QString QSearchField::placeholderText() const {
|
QString QSearchField::placeholderText() const {
|
||||||
|
#if QT_VERSION >= 0x040700
|
||||||
return pimpl->lineEdit->placeholderText();
|
return pimpl->lineEdit->placeholderText();
|
||||||
|
#else
|
||||||
|
return QString();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void QSearchField::clear()
|
void QSearchField::clear()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user