1
0
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:
John Maguire 2012-06-28 13:17:51 +02:00
parent 1ebca65c0b
commit c1def8bb26

View File

@ -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()