Fix compilation of QSearchField in Qt 4.6
This commit is contained in:
parent
1ebca65c0b
commit
c1def8bb26
|
@ -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