diff options
author | Clinton Stimpson <clinton@elemtech.com> | 2008-06-30 18:29:08 (GMT) |
---|---|---|
committer | Clinton Stimpson <clinton@elemtech.com> | 2008-06-30 18:29:08 (GMT) |
commit | 667d5f94464a7fbadc1e644f7869d4dbf8d3da00 (patch) | |
tree | 28d4b1c10e4c3700fdb6e0beb59509a7bb6b7d36 /Source/QtDialog | |
parent | b73cac64090b6881f1610d97d63745b2ca9be860 (diff) | |
download | CMake-667d5f94464a7fbadc1e644f7869d4dbf8d3da00.zip CMake-667d5f94464a7fbadc1e644f7869d4dbf8d3da00.tar.gz CMake-667d5f94464a7fbadc1e644f7869d4dbf8d3da00.tar.bz2 |
BUG: Fix column widths on some systems.
Diffstat (limited to 'Source/QtDialog')
-rw-r--r-- | Source/QtDialog/QCMakeCacheView.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/QtDialog/QCMakeCacheView.cxx b/Source/QtDialog/QCMakeCacheView.cxx index c00839e..5191f92 100644 --- a/Source/QtDialog/QCMakeCacheView.cxx +++ b/Source/QtDialog/QCMakeCacheView.cxx @@ -151,7 +151,7 @@ QCMakeCacheView::QCMakeCacheView(QWidget* p) bool QCMakeCacheView::event(QEvent* e) { - if(e->type() == QEvent::Resize) + if(e->type() == QEvent::Show) { this->header()->setDefaultSectionSize(this->viewport()->width()/2); } |