qt6: pdfwidget fixes — replace deprecated layout margin API, adapt Poppler Qt6 unique_ptr API to existing code (use unique_ptr m_doc), fix std::min types

This commit is contained in:
torsten committed 2026-07-14 20:41:40 +02:00
1 parent 58f7124c49
commit 8ef3c1861f
20 files changed
+2459 -21

No files matched your search

+2 -2
View File
@@ -232,8 +232,8 @@ void NGLDialogButtonBox::init()
bool bLowestPrioButton = false;
bool bSpacer1Added = false;
bool bSpacer2Added = false;
QMap<int, NGLStandardButton *>::const_iterator it = m_standardButtons.constBegin();
QMap<int, NGLStandardButton *>::const_iterator end = m_standardButtons.constEnd();
QMultiMap<int, NGLStandardButton *>::const_iterator it = m_standardButtons.constBegin();
QMultiMap<int, NGLStandardButton *>::const_iterator end = m_standardButtons.constEnd();
for (; it != end; ++it)
{
qint32 prio = it.key();