mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-04 17:30:12 +08:00
Ref T401, login updates crashpad info
This commit is contained in:
@@ -298,7 +298,10 @@ namespace BlackGui
|
|||||||
{
|
{
|
||||||
Q_ASSERT_X(currentServer.isValidForLogin(), Q_FUNC_INFO, "invalid server");
|
Q_ASSERT_X(currentServer.isValidForLogin(), Q_FUNC_INFO, "invalid server");
|
||||||
static const QString extraInfo("[%1]");
|
static const QString extraInfo("[%1]");
|
||||||
|
sGui->setCrashInfoUserName(currentServer.getUser().getRealNameAndId());
|
||||||
sGui->setExtraWindowTitle(extraInfo.arg(ownAircraft.getCallsignAsString()));
|
sGui->setExtraWindowTitle(extraInfo.arg(ownAircraft.getCallsignAsString()));
|
||||||
|
sGui->appendCrashInfo(currentServer.getServerSessionId());
|
||||||
|
|
||||||
m_networkSetup.setLastServer(currentServer);
|
m_networkSetup.setLastServer(currentServer);
|
||||||
m_lastAircraftModel.set(ownAircraft.getModel());
|
m_lastAircraftModel.set(ownAircraft.getModel());
|
||||||
ui->le_HomeBase->setText(currentServer.getUser().getHomeBase().asString());
|
ui->le_HomeBase->setText(currentServer.getUser().getHomeBase().asString());
|
||||||
|
|||||||
Reference in New Issue
Block a user