Permalink
Browse files

Fix Qt 4.6 compilation error.

  • Loading branch information...
MikeMcQuaid committed Feb 23, 2012
1 parent 344748e commit 963b813c9eca770b7dfc09d0b024bf25cb9e9827
Showing with 2 additions and 0 deletions.
  1. +2 −0 qsearchfield_nonmac.cpp
View
@@ -97,7 +97,9 @@ void QSearchField::setPlaceholderText(const QString &text)
if (!(pimpl && pimpl->lineEdit))
return;
+#if QT_VERSION >= 0x040700
pimpl->lineEdit->setPlaceholderText(text);
+#endif
}
void QSearchField::clear()

0 comments on commit 963b813

Please sign in to comment.