QTfrontend/game.cpp
changeset 9249 7b8c82785145
parent 9124 955a90b88865
child 9466 8b48c27201af
--- a/QTfrontend/game.cpp	Sun Jun 23 13:35:26 2013 -0400
+++ b/QTfrontend/game.cpp	Sun Jun 23 17:11:29 2013 -0400
@@ -17,6 +17,7 @@
  */
 
 #include <QString>
+#include <QCheckBox>
 #include <QByteArray>
 #include <QUuid>
 #include <QColor>
@@ -415,6 +416,15 @@
         arguments << nick;
     }
 
+    if (!config->Form->ui.pageOptions->CBTeamTag->isChecked())
+        arguments << "--no-teamtag";
+    if (!config->Form->ui.pageOptions->CBHogTag->isChecked())
+        arguments << "--no-hogtag";
+    if (!config->Form->ui.pageOptions->CBHealthTag->isChecked())
+        arguments << "--no-healthtag";
+    if (config->Form->ui.pageOptions->CBTagOpacity->isChecked())
+        arguments << "--translucent-tags";
+
     return arguments;
 }