mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-07 11:40:42 +00:00
Improve qWarning message to show timestamps causing the warning.
This commit is contained in:
parent
eaa93a2ff9
commit
a30aa74099
@ -170,7 +170,7 @@ class Session
|
|||||||
//! \brief Set last time to higher of 'd' and existing s_last. Throw warning if 'd' less than s_first.
|
//! \brief Set last time to higher of 'd' and existing s_last. Throw warning if 'd' less than s_first.
|
||||||
void set_last(qint64 d) {
|
void set_last(qint64 d) {
|
||||||
if (d <= s_first) {
|
if (d <= s_first) {
|
||||||
qWarning() << s_session << "Session::set_last() d<=s_first";
|
qWarning() << s_session << "Session::set_last() d<=s_first, d" << d << "s_first" << s_first;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user