Qt5 fixes

This commit is contained in:
Leonardo Zide
2026-04-25 13:08:04 -07:00
parent 7000eecf97
commit f3f4eeb4e7
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -26,6 +26,7 @@
#include "lc_http.h"
#include "lc_zipfile.h"
#include "lc_file.h"
#include "lc_qutils.h"
#include "project.h"
#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0)
+2 -2
View File
@@ -576,8 +576,8 @@ lcInstructionsDialog::lcInstructionsDialog(QWidget* Parent, Project* Project)
connect(mPrintAction, &QAction::triggered, this, &lcInstructionsDialog::ShowPrintDialog);
connect(mVerticalPageAction, &QAction::toggled, this, &lcInstructionsDialog::UpdatePageSettings);
connect(mHorizontalPageAction, &QAction::toggled, this, &lcInstructionsDialog::UpdatePageSettings);
connect(mRowsSpinBox, &QSpinBox::valueChanged, this, &lcInstructionsDialog::UpdatePageSettings);
connect(mColumnsSpinBox, &QSpinBox::valueChanged, this, &lcInstructionsDialog::UpdatePageSettings);
connect(mRowsSpinBox, qOverload<int>(&QSpinBox::valueChanged), this, &lcInstructionsDialog::UpdatePageSettings);
connect(mColumnsSpinBox, qOverload<int>(&QSpinBox::valueChanged), this, &lcInstructionsDialog::UpdatePageSettings);
}
void lcInstructionsDialog::ShowPrintDialog()