diff options
author | Clinton Stimpson <clinton@elemtech.com> | 2008-02-08 15:42:14 (GMT) |
---|---|---|
committer | Clinton Stimpson <clinton@elemtech.com> | 2008-02-08 15:42:14 (GMT) |
commit | 45cf2ade08351ccbc880856ba7774da52db06f0b (patch) | |
tree | 858fec6cbf426e7a9f98eeaa4b5ca542cb58319c /Source/QtDialog/QCMakeCacheView.cxx | |
parent | a71d56096cb2690514712c8b8cd843d10fba8e31 (diff) | |
download | CMake-45cf2ade08351ccbc880856ba7774da52db06f0b.zip CMake-45cf2ade08351ccbc880856ba7774da52db06f0b.tar.gz CMake-45cf2ade08351ccbc880856ba7774da52db06f0b.tar.bz2 |
COMP: Fix build with Qt 4.2.
BUG: Fix new editors stealing focus while typing search text.
ENH: Look for translation in data dir, not bin dir.
Diffstat (limited to 'Source/QtDialog/QCMakeCacheView.cxx')
-rw-r--r-- | Source/QtDialog/QCMakeCacheView.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/QtDialog/QCMakeCacheView.cxx b/Source/QtDialog/QCMakeCacheView.cxx index 640a3e0..466006a 100644 --- a/Source/QtDialog/QCMakeCacheView.cxx +++ b/Source/QtDialog/QCMakeCacheView.cxx @@ -146,6 +146,7 @@ bool QCMakeCacheView::showAdvanced() const void QCMakeCacheView::setSearchFilter(const QString& s) { + this->selectionModel()->clear(); this->SearchFilter->setFilterFixedString(s); } |