revert 9b789de8e5df on branch based on feedback from zorg - seems to be breaking gameplay
--- a/QTfrontend/hwform.cpp Tue Dec 30 19:07:57 2014 +0300
+++ b/QTfrontend/hwform.cpp Tue Dec 30 18:19:05 2014 -0500
@@ -1832,7 +1832,7 @@
if (hwnet)
{
NetAmmoSchemeModel * netAmmo = new NetAmmoSchemeModel(hwnet);
- connect(hwnet, SIGNAL(netSchemeConfig(QStringList)), netAmmo, SLOT(setNetSchemeConfig(QStringList)));
+ connect(hwnet, SIGNAL(netSchemeConfig(QStringList &)), netAmmo, SLOT(setNetSchemeConfig(QStringList &)));
ui.pageNetGame->pGameCFG->GameSchemes->setModel(netAmmo);
--- a/QTfrontend/model/ammoSchemeModel.cpp Tue Dec 30 19:07:57 2014 +0300
+++ b/QTfrontend/model/ammoSchemeModel.cpp Tue Dec 30 18:19:05 2014 -0500
@@ -845,7 +845,7 @@
return netScheme[index.column()];
}
-void NetAmmoSchemeModel::setNetSchemeConfig(QStringList cfg)
+void NetAmmoSchemeModel::setNetSchemeConfig(QStringList & cfg)
{
if(cfg.size() != netScheme.size())
{
--- a/QTfrontend/model/ammoSchemeModel.h Tue Dec 30 19:07:57 2014 +0300
+++ b/QTfrontend/model/ammoSchemeModel.h Tue Dec 30 18:19:05 2014 -0500
@@ -70,7 +70,7 @@
QVariant data(const QModelIndex &index, int role) const;
public slots:
- void setNetSchemeConfig(QStringList cfg);
+ void setNetSchemeConfig(QStringList & cfg);
private:
QList<QVariant> netScheme;
--- a/QTfrontend/net/newnetclient.h Tue Dec 30 19:07:57 2014 +0300
+++ b/QTfrontend/net/newnetclient.h Tue Dec 30 18:19:05 2014 -0500
@@ -111,7 +111,7 @@
void roomNameUpdated(const QString & name);
void askForRoomPassword();
- void netSchemeConfig(QStringList);
+ void netSchemeConfig(QStringList &);
void paramChanged(const QString & param, const QStringList & value);
void configAsked();