forked from qt-creator/qt-creator
Fixes: simplify ProjectExplorerPlugin::instance() access
This commit is contained in:
@@ -66,6 +66,7 @@ StackWindow::StackWindow(QWidget *parent)
|
||||
void StackWindow::resizeEvent(QResizeEvent *event)
|
||||
{
|
||||
QHeaderView *hv = header();
|
||||
|
||||
int totalSize = event->size().width() - 120;
|
||||
if (totalSize > 10) {
|
||||
hv->resizeSection(0, 45);
|
||||
|
||||
Reference in New Issue
Block a user