CManagedStatusBar: don't display a message if already displaying one with a higher severity.

This commit is contained in:
Mathew Sutcliffe
2017-03-30 02:10:09 +01:00
parent 3011c3a7ed
commit 5ba438699f
2 changed files with 6 additions and 0 deletions

View File

@@ -66,6 +66,7 @@ namespace BlackGui
QLabel *m_statusBarLabel = nullptr; //!< status bar label
QTimer *m_timerStatusBar = nullptr; //!< cleaning up status bar (own cleaning as I need to clean window / icon)
bool m_ownStatusBar = false;
BlackMisc::StatusSeverity m_currentSeverity = BlackMisc::StatusSeverity::SeverityDebug; // severity currently displayed
};
} // namespace