Since -r 1723 when choosing the File -> Save Image menu item Leocad
crashes. When looking at the debugger it appears to be in
lc_qimagedialog.cpp at the first line with options->End.
Maybe it was supposed to be something like this?
lcQImageDialog::lcQImageDialog(QWidget *parent, void *data) :
QDialog(parent),
ui(new Ui::lcQImageDialog)
{
ui->setupUi(this);
options = (lcImageDialogOptions*)data;
// currentStep = options->Start;
lastStep = options->End;
ui->width->setValidator(new QIntValidator(1, 2048));
ui->height->setValidator(new QIntValidator(1, 2048));
ui->firstStep->setValidator(new QIntValidator(1, lastStep));
ui->lastStep->setValidator(new QIntValidator(1, lastStep));
ui->fileName->setText(options->FileName);
ui->width->setText(QString::number(options->Width));
ui->height->setText(QString::number(options->Height));
ui->firstStep->setText(QString::number(1));
ui->lastStep->setText(QString::number(lastStep));
ui->rangeCurrent->setChecked(true);
}
Or something of that nature.
Debian 8
Qt5
_______________________________________________
Leocad mailing list
[email protected]
https://list.gerf.org/listinfo/leocad