utility: turned of logging for scroll and focus messages
These messages added up to about 80% of all logs during use of the UI.
This commit is contained in:
@@ -21,6 +21,7 @@ public:
|
||||
, m_keepContent(false)
|
||||
, m_cancelled(false)
|
||||
, m_isLast(true)
|
||||
, m_isLogged(true)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -56,6 +57,16 @@ public:
|
||||
m_isLast = isLast;
|
||||
}
|
||||
|
||||
bool isLogged() const
|
||||
{
|
||||
return m_isLogged;
|
||||
}
|
||||
|
||||
void setIsLogged(bool isLogged)
|
||||
{
|
||||
m_isLogged = isLogged;
|
||||
}
|
||||
|
||||
void setKeepContent(bool keepContent)
|
||||
{
|
||||
m_keepContent = keepContent;
|
||||
@@ -93,6 +104,7 @@ private:
|
||||
bool m_keepContent;
|
||||
bool m_cancelled;
|
||||
bool m_isLast;
|
||||
bool m_isLogged;
|
||||
};
|
||||
|
||||
#endif // MESSAGE_BASE_H
|
||||
|
||||
Reference in New Issue
Block a user