Author: cazfi
Date: Mon May  8 15:17:26 2017
New Revision: 35457

URL: http://svn.gna.org/viewcvs/freeciv?rev=35457&view=rev
Log:
Make requirement editing available in non-experimental builds

See hrm Feature #658046

Modified:
    trunk/tools/ruledit/req_edit.cpp
    trunk/tools/ruledit/tab_building.cpp
    trunk/tools/ruledit/tab_enablers.cpp
    trunk/tools/ruledit/tab_extras.cpp
    trunk/tools/ruledit/tab_good.cpp
    trunk/tools/ruledit/tab_gov.cpp

Modified: trunk/tools/ruledit/req_edit.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/tools/ruledit/req_edit.cpp?rev=35457&r1=35456&r2=35457&view=diff
==============================================================================
--- trunk/tools/ruledit/req_edit.cpp    (original)
+++ trunk/tools/ruledit/req_edit.cpp    Mon May  8 15:17:26 2017
@@ -121,12 +121,10 @@
   add_button = new QPushButton(QString::fromUtf8(R__("Add Requirement")), 
this);
   connect(add_button, SIGNAL(pressed()), this, SLOT(add_now()));
   reqedit_layout->addWidget(add_button, 0, 0);
-  show_experimental(add_button);
 
   delete_button = new QPushButton(QString::fromUtf8(R__("Delete 
Requirement")), this);
   connect(delete_button, SIGNAL(pressed()), this, SLOT(delete_now()));
   reqedit_layout->addWidget(delete_button, 1, 0);
-  show_experimental(delete_button);
 
   close_button = new QPushButton(QString::fromUtf8(R__("Close")), this);
   connect(close_button, SIGNAL(pressed()), this, SLOT(close_now()));

Modified: trunk/tools/ruledit/tab_building.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/tools/ruledit/tab_building.cpp?rev=35457&r1=35456&r2=35457&view=diff
==============================================================================
--- trunk/tools/ruledit/tab_building.cpp        (original)
+++ trunk/tools/ruledit/tab_building.cpp        Mon May  8 15:17:26 2017
@@ -84,7 +84,6 @@
   reqs_button = new QPushButton(QString::fromUtf8(R__("Requirements")), this);
   connect(reqs_button, SIGNAL(pressed()), this, SLOT(edit_reqs()));
   bldg_layout->addWidget(reqs_button, 2, 2);
-  show_experimental(reqs_button);
 
   add_button = new QPushButton(QString::fromUtf8(R__("Add Building")), this);
   connect(add_button, SIGNAL(pressed()), this, SLOT(add_now2()));

Modified: trunk/tools/ruledit/tab_enablers.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/tools/ruledit/tab_enablers.cpp?rev=35457&r1=35456&r2=35457&view=diff
==============================================================================
--- trunk/tools/ruledit/tab_enablers.cpp        (original)
+++ trunk/tools/ruledit/tab_enablers.cpp        Mon May  8 15:17:26 2017
@@ -87,12 +87,10 @@
   reqs_button = new QPushButton(QString::fromUtf8(R__("Actor Requirements")), 
this);
   connect(reqs_button, SIGNAL(pressed()), this, SLOT(edit_actor_reqs()));
   enabler_layout->addWidget(reqs_button, 1, 2);
-  show_experimental(reqs_button);
 
   reqs_button = new QPushButton(QString::fromUtf8(R__("Target Requirements")), 
this);
   connect(reqs_button, SIGNAL(pressed()), this, SLOT(edit_target_reqs()));
   enabler_layout->addWidget(reqs_button, 2, 2);
-  show_experimental(reqs_button);
 
   add_button = new QPushButton(QString::fromUtf8(R__("Add Enabler")), this);
   connect(add_button, SIGNAL(pressed()), this, SLOT(add_now()));

Modified: trunk/tools/ruledit/tab_extras.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/tools/ruledit/tab_extras.cpp?rev=35457&r1=35456&r2=35457&view=diff
==============================================================================
--- trunk/tools/ruledit/tab_extras.cpp  (original)
+++ trunk/tools/ruledit/tab_extras.cpp  Mon May  8 15:17:26 2017
@@ -84,7 +84,6 @@
   reqs_button = new QPushButton(QString::fromUtf8(R__("Requirements")), this);
   connect(reqs_button, SIGNAL(pressed()), this, SLOT(edit_reqs()));
   extra_layout->addWidget(reqs_button, 2, 2);
-  show_experimental(reqs_button);
 
   add_button = new QPushButton(QString::fromUtf8(R__("Add Extra")), this);
   connect(add_button, SIGNAL(pressed()), this, SLOT(add_now()));

Modified: trunk/tools/ruledit/tab_good.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/tools/ruledit/tab_good.cpp?rev=35457&r1=35456&r2=35457&view=diff
==============================================================================
--- trunk/tools/ruledit/tab_good.cpp    (original)
+++ trunk/tools/ruledit/tab_good.cpp    Mon May  8 15:17:26 2017
@@ -84,7 +84,6 @@
   reqs_button = new QPushButton(QString::fromUtf8(R__("Requirements")), this);
   connect(reqs_button, SIGNAL(pressed()), this, SLOT(edit_reqs()));
   good_layout->addWidget(reqs_button, 2, 2);
-  show_experimental(reqs_button);
 
   add_button = new QPushButton(QString::fromUtf8(R__("Add Good")), this);
   connect(add_button, SIGNAL(pressed()), this, SLOT(add_now()));

Modified: trunk/tools/ruledit/tab_gov.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/tools/ruledit/tab_gov.cpp?rev=35457&r1=35456&r2=35457&view=diff
==============================================================================
--- trunk/tools/ruledit/tab_gov.cpp     (original)
+++ trunk/tools/ruledit/tab_gov.cpp     Mon May  8 15:17:26 2017
@@ -84,7 +84,6 @@
   reqs_button = new QPushButton(QString::fromUtf8(R__("Requirements")), this);
   connect(reqs_button, SIGNAL(pressed()), this, SLOT(edit_reqs()));
   gov_layout->addWidget(reqs_button, 2, 2);
-  show_experimental(reqs_button);
 
   add_button = new QPushButton(QString::fromUtf8(R__("Add Government")), this);
   connect(add_button, SIGNAL(pressed()), this, SLOT(add_now()));


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to