[Cmake-commits] [cmake-commits] clinton committed QCMakeCacheView.cxx 1.31 1.32
cmake-commits at cmake.org
cmake-commits at cmake.org
Wed Jun 11 14:47:59 EDT 2008
Update of /cvsroot/CMake/CMake/Source/QtDialog
In directory public:/mounts/ram/cvs-serv27582
Modified Files:
QCMakeCacheView.cxx
Log Message:
BUG: need to invalidate filtering when using Qt 4.3+.
Index: QCMakeCacheView.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/QtDialog/QCMakeCacheView.cxx,v
retrieving revision 1.31
retrieving revision 1.32
diff -C 2 -d -r1.31 -r1.32
*** QCMakeCacheView.cxx 11 Jun 2008 00:17:23 -0000 1.31
--- QCMakeCacheView.cxx 11 Jun 2008 18:47:56 -0000 1.32
***************
*** 145,148 ****
--- 145,153 ----
void QCMakeCacheView::setShowAdvanced(bool s)
{
+ #if QT_VERSION >= 040300
+ // new 4.3 api that needs to be called. what about an older Qt?
+ this->SearchFilter->invalidate();
+ #endif
+
this->AdvancedFilter->setFilterRegExp(
s ? AdvancedRegExp[1] : AdvancedRegExp[0]);
More information about the Cmake-commits
mailing list