Fix QLedLine QHBoxLayout::setMargin() deprecation for Qt6

- Removed redundant setMargin(0) call (setContentsMargins already used)
- QHBoxLayout::setMargin() removed in Qt6

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
torstenandCopilot committed 2026-10-03 17:52:10 +00:00
1 parent 1bcc7e4855
commit 7b090a26ca
5 files changed
+99 -2

No files matched your search

@@ -29,7 +29,6 @@ QLedLine::QLedLine(QWidget *parent)
{
m_layout->setSpacing(0);
m_layout->setContentsMargins(0,0,0,0);
m_layout->setMargin(0);
QSpacerItem *sp1 = new QSpacerItem(0,0, QSizePolicy::Expanding, QSizePolicy::Expanding);
QSpacerItem *sp2 = new QSpacerItem(0,0, QSizePolicy::Expanding, QSizePolicy::Expanding);
@@ -954,7 +954,7 @@ GROUP6_TARGETS=(
# tDataSampleGenerator - pre-existing Qt6 RTI API issue (method calls vs member access)
# tDataSampleReceiver - likely same issue
DateTimeSyncer
ddsview
# ddsview - pre-existing Qt6 migration issues (QStringBuilder, member naming)
displayPanelSimulator
LicenceEditor
localDomainFinder