mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-19 20:25:29 +08:00
Login UI/lookup improvements
* made tool -> push buttons as easier to spot * reverse lookup of model before login -> always latest DB data * use "text only" ICAO code if loading from DB yields no result
This commit is contained in:
committed by
Mat Sutcliffe
parent
985674f1cf
commit
13c67e4838
@@ -42,6 +42,9 @@ namespace BlackMisc
|
||||
//! Extract key from string like "MyAircraft (33)"
|
||||
static int extractIntegerKey(const QString &stringWithKey);
|
||||
|
||||
//! Strip the parentheses part, e.g. "foo (123)" => "foo"
|
||||
static QString stripKeyInParentheses(const QString &valueWithKey);
|
||||
|
||||
//! Parse a timestamp object
|
||||
static QDateTime parseTimestamp(const QString ×tamp);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user