Fixes: debugger: less fuss when resizing views

This commit is contained in:
hjk
2009-03-04 09:45:20 +01:00
parent db03ceb5e5
commit 6632d5b480
2 changed files with 8 additions and 2 deletions

View File

@@ -67,6 +67,7 @@ void BreakWindow::keyPressEvent(QKeyEvent *ev)
void BreakWindow::resizeEvent(QResizeEvent *ev)
{
/*
QHeaderView *hv = header();
int totalSize = ev->size().width() - 180;
hv->resizeSection(0, 60);
@@ -75,6 +76,7 @@ void BreakWindow::resizeEvent(QResizeEvent *ev)
hv->resizeSection(3, (totalSize * 30) / 100);
hv->resizeSection(4, 70);
hv->resizeSection(5, 50);
*/
QTreeView::resizeEvent(ev);
}