Compare commits

...

3 commits

Author SHA1 Message Date
Roman Telezhynskyi 3fad6bc5f9 Fix MSVC warnings. 2023-03-10 14:14:18 +02:00
Roman Telezhynskyi 777fe6a296 Remove build MSVC arm64. 2023-03-10 07:40:56 +02:00
Roman Telezhynskyi 7d759ec92b Fix MSVC warnings. 2023-03-10 07:40:27 +02:00
3 changed files with 3 additions and 23 deletions

View file

@ -168,21 +168,6 @@ environment:
MSYS2_PACKAGES: false
DEPLOY: false
- job_name: Windows_Qt_6_4_(MSVC_arm64)
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
COMPILER: msvc
QT: Qt\6.4\msvc2019_arm64
QT_VERSION: Qt6_4
BUILD_SYSTEM: "qbs"
QMAKE: qmake.bat
ENABLE_PCH: true
MSVC_PATH: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.29.30133\\bin\\Hostx64\\arm64"
ARCH: arm64
PYTHON: "C:\\Python311"
PLATFORM: "Windows10+"
MSYS2_PACKAGES: false
DEPLOY: false
- job_name: Windows_Qt_5_15_(qbs_GCC_x64)
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
COMPILER: mingw
@ -269,8 +254,6 @@ matrix:
job_name: Windows_Qt_6_4_(GCC_x64)
- platform: x86
job_name: Windows_Qt_6_4_(MSVC_x64)
- platform: x86
job_name: Windows_Qt_6_4_(MSVC_arm64)
- platform: x86
job_name: Windows_Qt_5_15_(make_GCC_x64)
- platform: x86
@ -309,7 +292,6 @@ for:
only:
- job_name: Windows_Qt_6_4_(GCC_x64)
- job_name: Windows_Qt_6_4_(MSVC_x64)
- job_name: Windows_Qt_6_4_(MSVC_arm64)
- job_name: Windows_Qt_5_15_(qbs_GCC_x64)
- job_name: Windows_Qt_5_15_(qbs_MSVC_x64)
- job_name: Windows_Qt_5_15_(qbs_GCC_x86)

View file

@ -442,7 +442,7 @@ void DialogFlippingByLine::ShowSourceDetails(int row)
{
ui->labelAlias->setText(tr("Alias:"));
auto SetValue = [sourceItem](QComboBox *box, const QString &value, const QString &def)
auto SetValue = [](QComboBox *box, const QString &value, const QString &def)
{
box->blockSignals(true);
@ -463,8 +463,7 @@ void DialogFlippingByLine::ShowSourceDetails(int row)
SetValue(ui->comboBoxPenStyle, sourceItem.penStyle, TypeLineDefault);
if (sourceItem.penStyle.isEmpty() || sourceItem.penStyle == TypeLineDefault)
{
const QSharedPointer<VAbstractCurve> curve = data->GeometricObject<VAbstractCurve>(sourceItem.id);
{;
int index = ui->comboBoxPenStyle->currentIndex();
ui->comboBoxPenStyle->setItemText(index, '<' + tr("Default") + '>');
}

View file

@ -679,7 +679,7 @@ void DialogRotation::ShowSourceDetails(int row)
{
ui->labelAlias->setText(tr("Alias:"));
auto SetValue = [sourceItem](QComboBox *box, const QString &value, const QString &def)
auto SetValue = [](QComboBox *box, const QString &value, const QString &def)
{
box->blockSignals(true);
@ -701,7 +701,6 @@ void DialogRotation::ShowSourceDetails(int row)
if (sourceItem.penStyle.isEmpty() || sourceItem.penStyle == TypeLineDefault)
{
const QSharedPointer<VAbstractCurve> curve = data->GeometricObject<VAbstractCurve>(sourceItem.id);
int index = ui->comboBoxPenStyle->currentIndex();
ui->comboBoxPenStyle->setItemText(index, '<' + tr("Default") + '>');
}