Login component, hide server selection when displaying FSD details as otherwise there is not enough space

This commit is contained in:
Klaus Basan
2018-11-11 02:38:33 +01:00
parent 79547efe0a
commit 1a45d8e1b8
4 changed files with 82 additions and 168 deletions

View File

@@ -217,7 +217,13 @@ namespace BlackGui
void onServerTabWidgetChanged(int index);
//! Has contexts?
bool hasValidContexts();
bool hasValidContexts() const;
//! Set the server buttons visible
void setServerButtonsVisible(bool visible);
//! Tab index changed
void onDetailsTabChanged(int index);
static constexpr int OverlayMessageMs = 5000;
static constexpr int LogoffIntervalSeconds = 20; //!< time before logoff