- fix: In compiler options page, Can't save default stack size to 0MB.
This commit is contained in:
parent
fc68af7b0b
commit
eeb57ca6fa
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue