Skip to content

Commit

Permalink
small fixes for Qt6.8 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisHal committed Oct 23, 2024
1 parent 316ced2 commit 3efc0c6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions QtPMbrowser/DlgChoosePathAndPrefix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ ui(new Ui::DlgChoosePathAndPrefix)
break;
}
QObject::connect(ui->pushButtonChoosePath, SIGNAL(clicked()), this, SLOT(choosePath()));
QObject::connect(ui->checkBox_pxp_export, &QCheckBox::stateChanged,
QObject::connect(ui->checkBox_pxp_export, &QCheckBox::checkStateChanged,
this, &DlgChoosePathAndPrefix::stateExportPXPchanged);
QObject::connect(ui->checkBox_create_datafolders, &QCheckBox::stateChanged,
QObject::connect(ui->checkBox_create_datafolders, &QCheckBox::checkStateChanged,
this, &DlgChoosePathAndPrefix::stateCreateFoldersChanged);
}

Expand Down
4 changes: 2 additions & 2 deletions QtPMbrowser/renderarea.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ RenderArea::RenderArea(QWidget* parent) :
QObject::connect(&btnAutoScale, &QPushButton::clicked, this, &RenderArea::autoScale);
QObject::connect(&btnVertShrink, &QPushButton::clicked, this, &RenderArea::verticalShrink);
QObject::connect(&btnHrzShrink, &QPushButton::clicked, this, &RenderArea::horizontalShrink);
QObject::connect(&chkAutoScale, &QCheckBox::stateChanged, this, &RenderArea::toggleDoAutoscale2);
QObject::connect(&chkOverlay, &QCheckBox::stateChanged, this, &RenderArea::toggleOverlay);
QObject::connect(&chkAutoScale, &QCheckBox::checkStateChanged, this, &RenderArea::toggleDoAutoscale2);
QObject::connect(&chkOverlay, &QCheckBox::checkStateChanged, this, &RenderArea::toggleOverlay);


//auto btnstyle = p_btnstyle.get();
Expand Down

0 comments on commit 3efc0c6

Please sign in to comment.