- fix: In compiler options page, Can't save default stack size to 0MB.

This commit is contained in:
Roy Qu 2024-05-17 18:12:11 +08:00
parent fc68af7b0b
commit eeb57ca6fa
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ QMap<QString, QString> CompileArgumentsWidget::arguments( bool includeUnset) con
{ {
QSpinBox* pInput = static_cast<QSpinBox *>(pLayout->itemAtPosition(j,2)->widget()); QSpinBox* pInput = static_cast<QSpinBox *>(pLayout->itemAtPosition(j,2)->widget());
int val=pInput->value(); int val=pInput->value();
if (val>0) if (val>=0)
args.insert(key,QString("%1").arg(val)); args.insert(key,QString("%1").arg(val));
else { else {
if (includeUnset) if (includeUnset)