mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-27 11:05:44 +08:00
[Performance] reduce number of status message updates
This commit is contained in:
committed by
Mat Sutcliffe
parent
9d53696417
commit
42eaeac1b9
@@ -82,7 +82,7 @@ namespace BlackGui
|
||||
QScopedPointer<Ui::CStatusMessagesDetail> ui;
|
||||
int m_maxLogMessages = -1;
|
||||
BlackMisc::CStatusMessageList m_pending; //!< pending messages which will be added with next CStatusMessagesDetail::deferredUpdate
|
||||
BlackMisc::CDigestSignal m_dsDeferredUpdate { this, &CStatusMessagesDetail::deferredUpdate, 2000, 10 };
|
||||
BlackMisc::CDigestSignal m_dsDeferredUpdate { this, &CStatusMessagesDetail::deferredUpdate, 2000, 25 };
|
||||
|
||||
//! Do not update each message, but deferred
|
||||
void deferredUpdate();
|
||||
|
||||
Reference in New Issue
Block a user