logic: Added update checker connecting to online API
* connects to https://www.sourcetrail.com/api/v1/versions/latest * sends information about OS, platform, license type, current version and a unique user token * Automatic update check is enabled via Startscreen and performed once every 24 hours on window focus * Update check can be forced by clicking on "check for new version" on start screen * renamed TimePoint to TimeStamp fortune cookie message = In Träumen und im Leben ist nichts unmöglich.
This commit is contained in:
@@ -173,11 +173,11 @@ ScopedTrace::ScopedTrace(
|
||||
m_event->functionName = functionName;
|
||||
m_event->locationName = FilePath(fileName).fileName() + ":" + std::to_string(lineNumber);
|
||||
|
||||
m_timePoint = utility::durationStart();
|
||||
m_TimeStamp = utility::durationStart();
|
||||
}
|
||||
|
||||
ScopedTrace::~ScopedTrace()
|
||||
{
|
||||
m_event->time = utility::duration(m_timePoint);
|
||||
m_event->time = utility::duration(m_TimeStamp);
|
||||
Tracer::getInstance()->finishEvent(m_event);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user