Commit 4e01a707 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Port away from deprecated pixelmetrics

parent 1f97f130
Pipeline #197531 passed with stage
in 1 minute and 59 seconds
......@@ -152,7 +152,7 @@ void ImageMetaInfoDialog::setMetaInfo(ImageMetaInfoModel *model, const QStringLi
}
d->mTreeView->setModel(d->mModel.get());
const int marginSize = QApplication::style()->pixelMetric(QStyle::PM_DefaultChildMargin);
const int marginSize = QApplication::style()->pixelMetric(QStyle::PM_LayoutLeftMargin);
d->mTreeView->header()->resizeSection(0, sizeHint().width() / 2 - marginSize * 2);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment