Skip to content
Browse files

Fix Qt 4.6 compilation error.

  • Loading branch information...
1 parent 344748e commit 963b813c9eca770b7dfc09d0b024bf25cb9e9827 @mikemcquaid committed Feb 23, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 qsearchfield_nonmac.cpp
View
2 qsearchfield_nonmac.cpp
@@ -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.
Something went wrong with that request. Please try again.