mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 00:25:35 +08:00
Fix cmd line arguments to allow passing client id and key pair
Before this commit, a user was able to pass a FSD key only via command line arguments. However, changing the key itself is not enough. The key always needs to be set together with its corresponding id. refs #795
This commit is contained in:
committed by
Klaus Basan
parent
969c077182
commit
dd0d9f1133
@@ -121,8 +121,8 @@ namespace BlackCore
|
||||
//! Cmd.line options this library can handle
|
||||
static const QList<QCommandLineOption> &getCmdLineOptions();
|
||||
|
||||
//! Key if any from cmd.line arguments
|
||||
QString getCmdLineFsdKey() const;
|
||||
//! Client id and key if any from command line arguments
|
||||
bool getCmdLineClientIdAndKey(int &id, QString &key) const;
|
||||
|
||||
private slots:
|
||||
void replyToFrequencyQuery(const BlackMisc::Aviation::CCallsign &callsign);
|
||||
|
||||
Reference in New Issue
Block a user