mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-09 13:35:34 +08:00
Encode HTML messages, reported as bug in Discord
This commit is contained in:
committed by
Mat Sutcliffe
parent
8a2d3458b4
commit
1ceac51771
@@ -101,7 +101,7 @@ namespace BlackGui
|
||||
c = connect(sGui->getIContextOwnAircraft(), &IContextOwnAircraft::changedAircraftCockpit, this, &CTextMessageComponent::onChangedAircraftCockpit, Qt::QueuedConnection);
|
||||
Q_ASSERT_X(c, Q_FUNC_INFO, "Missing connect");
|
||||
}
|
||||
Q_UNUSED(c);
|
||||
Q_UNUSED(c)
|
||||
|
||||
// init by settings
|
||||
const QPointer<CTextMessageComponent> myself(this);
|
||||
@@ -267,7 +267,7 @@ namespace BlackGui
|
||||
void CTextMessageComponent::onChangedAircraftCockpit(const CSimulatedAircraft &aircraft, const CIdentifier &originator)
|
||||
{
|
||||
// this is called for every overlay widget as well
|
||||
Q_UNUSED(originator);
|
||||
Q_UNUSED(originator)
|
||||
if (!this->isActivated()) { return; }
|
||||
this->showCurrentFrequenciesFromCockpit(aircraft);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user