Ref T286, "humanReadable" functions

This commit is contained in:
Klaus Basan
2018-07-03 19:38:19 +02:00
parent 698c8871bc
commit 2da0186dd2
2 changed files with 9 additions and 0 deletions

View File

@@ -126,6 +126,9 @@ namespace BlackCore
//! \copydoc BlackCore::TDataTrait::isPinned
static constexpr bool isPinned() { return true; }
//! \copydoc BlackCore::TDataTrait::humanReadable
static const QString &humanReadable() { static const QString name("VATSIM setup"); return name; }
};
//! Trait for last (most recently) used VATSIM server and user
@@ -136,6 +139,9 @@ namespace BlackCore
//! \copydoc BlackCore::TDataTrait::isPinned
static constexpr bool isPinned() { return true; }
//! \copydoc BlackCore::TDataTrait::humanReadable
static const QString &humanReadable() { static const QString name("Last VATSIM server"); return name; }
};
} // ns
} // ns