BUG: Fix column widths on some systems.

This commit is contained in:
Clinton Stimpson 2008-06-30 14:29:08 -04:00
parent b73cac6409
commit 667d5f9446

View File

@ -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);
}