BUG: Fix column widths on some systems.
This commit is contained in:
parent
b73cac6409
commit
667d5f9446
@ -151,7 +151,7 @@ QCMakeCacheView::QCMakeCacheView(QWidget* p)
|
|||||||
|
|
||||||
bool QCMakeCacheView::event(QEvent* e)
|
bool QCMakeCacheView::event(QEvent* e)
|
||||||
{
|
{
|
||||||
if(e->type() == QEvent::Resize)
|
if(e->type() == QEvent::Show)
|
||||||
{
|
{
|
||||||
this->header()->setDefaultSectionSize(this->viewport()->width()/2);
|
this->header()->setDefaultSectionSize(this->viewport()->width()/2);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user