adjust the range for mines to allow disabling with 0 now that the toggle button is gone.
authorhenek
Wed, 03 Nov 2010 18:18:16 -0400
changeset 4107 81a205f9d0ff
parent 4105 705ac4981b98
child 4108 186d4c163530
adjust the range for mines to allow disabling with 0 now that the toggle button is gone.
QTfrontend/pages.cpp
--- a/QTfrontend/pages.cpp	Wed Nov 03 22:28:55 2010 +0100
+++ b/QTfrontend/pages.cpp	Wed Nov 03 18:18:16 2010 -0400
@@ -1661,8 +1661,8 @@
     l->setPixmap(QPixmap(":/res/iconMine.png")); // TODO: icon
     glBSLayout->addWidget(l,6,1,1,1);
     SB_Mines = new QSpinBox(gbBasicSettings);
-    SB_Mines->setRange(1, 80);
-    SB_Mines->setValue(1);
+    SB_Mines->setRange(0, 80);
+    SB_Mines->setValue(0);
     SB_Mines->setSingleStep(5);
     glBSLayout->addWidget(SB_Mines,6,2,1,1);