From f12de69056045ffe8d7456ec42fd8beb5121b5be Mon Sep 17 00:00:00 2001
From: James Turner <zakalawe@mac.com>
Date: Mon, 7 Nov 2016 13:00:57 +0100
Subject: [PATCH] Add MP status to launcher summary.

---
 src/GUI/QtLauncher.cxx | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/src/GUI/QtLauncher.cxx b/src/GUI/QtLauncher.cxx
index e1cd7840d..6cbbf981b 100644
--- a/src/GUI/QtLauncher.cxx
+++ b/src/GUI/QtLauncher.cxx
@@ -614,6 +614,11 @@ QtLauncher::QtLauncher() :
     connect(m_ui->msaaCheckbox, SIGNAL(toggled(bool)),
             this, SLOT(updateSettingsSummary()));
 
+    connect(m_ui->mpBox, SIGNAL(toggled(bool)),
+            this, SLOT(updateSettingsSummary()));
+    connect(m_ui->mpCallsign, SIGNAL(textChanged(QString)),
+            this, SLOT(updateSettingsSummary()));
+
     connect(m_ui->rembrandtCheckbox, SIGNAL(toggled(bool)),
             this, SLOT(onRembrandtToggled(bool)));
     connect(m_ui->terrasyncCheck, &QCheckBox::toggled,
@@ -1337,6 +1342,10 @@ void QtLauncher::updateSettingsSummary()
         summary.append("paused");
     }
 
+    if (m_ui->mpBox->isChecked()) {
+        summary.append(tr("multiplayer: %1").arg(m_ui->mpCallsign->text()));
+    }
+
     QString s = summary.join(", ");
     s[0] = s[0].toUpper();
     m_ui->settingsDescription->setText(s);