Skip to content

Commit 3efc0c6

Browse files
committed
small fixes for Qt6.8 compatibility
1 parent 316ced2 commit 3efc0c6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

QtPMbrowser/DlgChoosePathAndPrefix.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ ui(new Ui::DlgChoosePathAndPrefix)
6060
break;
6161
}
6262
QObject::connect(ui->pushButtonChoosePath, SIGNAL(clicked()), this, SLOT(choosePath()));
63-
QObject::connect(ui->checkBox_pxp_export, &QCheckBox::stateChanged,
63+
QObject::connect(ui->checkBox_pxp_export, &QCheckBox::checkStateChanged,
6464
this, &DlgChoosePathAndPrefix::stateExportPXPchanged);
65-
QObject::connect(ui->checkBox_create_datafolders, &QCheckBox::stateChanged,
65+
QObject::connect(ui->checkBox_create_datafolders, &QCheckBox::checkStateChanged,
6666
this, &DlgChoosePathAndPrefix::stateCreateFoldersChanged);
6767
}
6868

QtPMbrowser/renderarea.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ RenderArea::RenderArea(QWidget* parent) :
6363
QObject::connect(&btnAutoScale, &QPushButton::clicked, this, &RenderArea::autoScale);
6464
QObject::connect(&btnVertShrink, &QPushButton::clicked, this, &RenderArea::verticalShrink);
6565
QObject::connect(&btnHrzShrink, &QPushButton::clicked, this, &RenderArea::horizontalShrink);
66-
QObject::connect(&chkAutoScale, &QCheckBox::stateChanged, this, &RenderArea::toggleDoAutoscale2);
67-
QObject::connect(&chkOverlay, &QCheckBox::stateChanged, this, &RenderArea::toggleOverlay);
66+
QObject::connect(&chkAutoScale, &QCheckBox::checkStateChanged, this, &RenderArea::toggleDoAutoscale2);
67+
QObject::connect(&chkOverlay, &QCheckBox::checkStateChanged, this, &RenderArea::toggleOverlay);
6868

6969

7070
//auto btnstyle = p_btnstyle.get();

0 commit comments

Comments
 (0)