mirror of
https://github.com/reactos/CMake.git
synced 2024-11-28 22:10:32 +00:00
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)
|
||||
{
|
||||
if(e->type() == QEvent::Resize)
|
||||
if(e->type() == QEvent::Show)
|
||||
{
|
||||
this->header()->setDefaultSectionSize(this->viewport()->width()/2);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user