mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-16 19:52:16 +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 {
|
||||
#if QT_VERSION >= 0x040700
|
||||
return pimpl->lineEdit->placeholderText();
|
||||
#else
|
||||
return QString();
|
||||
#endif
|
||||
}
|
||||
|
||||
void QSearchField::clear()
|
||||
|
Loading…
Reference in New Issue
Block a user