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:
@@ -249,7 +249,7 @@ void BookmarkController::handleMessage(MessageCreateBookmark* message)
|
||||
{
|
||||
LOG_INFO_STREAM(<< "Creating Edge Bookmark");
|
||||
|
||||
EdgeBookmark bookmark(0, message->displayName, message->comment, TimePoint::now(), category);
|
||||
EdgeBookmark bookmark(0, message->displayName, message->comment, TimeStamp::now(), category);
|
||||
bookmark.setEdgeIds(m_activeEdgeIds);
|
||||
|
||||
if (!m_activeNodeIds.empty())
|
||||
@@ -267,7 +267,7 @@ void BookmarkController::handleMessage(MessageCreateBookmark* message)
|
||||
{
|
||||
LOG_INFO_STREAM(<< "Creating Node Bookmark");
|
||||
|
||||
NodeBookmark bookmark(0, message->displayName, message->comment, TimePoint::now(), category);
|
||||
NodeBookmark bookmark(0, message->displayName, message->comment, TimeStamp::now(), category);
|
||||
if (message->nodeId)
|
||||
{
|
||||
bookmark.addNodeId(message->nodeId);
|
||||
|
||||
Reference in New Issue
Block a user