QRegExp is deprecated in qt6
Jean-Marc Lasgouttes
lasgouttes at lyx.org
Sun Mar 5 21:03:15 UTC 2023
Le 03/03/2023 à 19:56, Enrico Forestieri a écrit :
>> Any reason for not doing it?
>
> Go for it.
I have a doubt about this one. Are you sure that we do not care about fw?
#if QT_VERSION < 0x060000
const int fw = style()->pixelMetric(QStyle::PM_MenuPanelWidth, 0, this);
layout_->setMargin(fw);
#else
layout_->setContentsMargins(0, 0, 0, 0);
#endif
JMarc
More information about the lyx-devel
mailing list