mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
Fix unused variable warning with Qt6
This commit is contained in:
parent
4b20ae9d59
commit
9ccbc11bf3
@ -107,8 +107,8 @@ IconPalette::IconPalette(QWidget * parent)
|
|||||||
v->setSpacing(0);
|
v->setSpacing(0);
|
||||||
layout_ = new QGridLayout;
|
layout_ = new QGridLayout;
|
||||||
layout_->setSpacing(0);
|
layout_->setSpacing(0);
|
||||||
const int fw = style()->pixelMetric(QStyle::PM_MenuPanelWidth, 0, this);
|
|
||||||
#if QT_VERSION < 0x060000
|
#if QT_VERSION < 0x060000
|
||||||
|
const int fw = style()->pixelMetric(QStyle::PM_MenuPanelWidth, 0, this);
|
||||||
layout_->setMargin(fw);
|
layout_->setMargin(fw);
|
||||||
#else
|
#else
|
||||||
layout_->setContentsMargins(0, 0, 0, 0);
|
layout_->setContentsMargins(0, 0, 0, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user