{"action":"created","issue":{"url":"https://api.github.com/repos/Sync-my-L2P/Sync-my-L2P/issues/33","labels_url":"https://api.github.com/repos/Sync-my-L2P/Sync-my-L2P/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/Sync-my-L2P/Sync-my-L2P/issues/33/comments","events_url":"https://api.github.com/repos/Sync-my-L2P/Sync-my-L2P/issues/33/events","html_url":"https://github.com/Sync-my-L2P/Sync-my-L2P/pull/33","id":57783059,"number":33,"title":"Fix override bug.","user":{"login":"justin-time","id":9631683,"avatar_url":"https://avatars.githubusercontent.com/u/9631683?v=3","gravatar_id":"","url":"https://api.github.com/users/justin-time","html_url":"https://github.com/justin-time","followers_url":"https://api.github.com/users/justin-time/followers","following_url":"https://api.github.com/users/justin-time/following{/other_user}","gists_url":"https://api.github.com/users/justin-time/gists{/gist_id}","starred_url":"https://api.github.com/users/justin-time/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justin-time/subscriptions","organizations_url":"https://api.github.com/users/justin-time/orgs","repos_url":"https://api.github.com/users/justin-time/repos","events_url":"https://api.github.com/users/justin-time/events{/privacy}","received_events_url":"https://api.github.com/users/justin-time/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-16T09:45:26Z","updated_at":"2015-02-16T16:17:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Sync-my-L2P/Sync-my-L2P/pulls/33","html_url":"https://github.com/Sync-my-L2P/Sync-my-L2P/pull/33","diff_url":"https://github.com/Sync-my-L2P/Sync-my-L2P/pull/33.diff","patch_url":"https://github.com/Sync-my-L2P/Sync-my-L2P/pull/33.patch"},"body":"For me, the override file option does not work. The files are marked as\r\n\"NOT_SYNCHRONISED\" but they will not downloaded. I figured out that the\r\nline:\r\n`QFileInfo(directory, filename).lastModified().toMSecsSinceEpoch()/1000 <  currentElement->data(dateRole).toInt();`\r\ndoes not return true.\r\n\r\nAnd so, I've replaced this line with the synchronisedRole check.\r\nNow it works. Tested on linux."},"comment":{"url":"https://api.github.com/repos/Sync-my-L2P/Sync-my-L2P/issues/comments/74532916","html_url":"https://github.com/Sync-my-L2P/Sync-my-L2P/pull/33#issuecomment-74532916","issue_url":"https://api.github.com/repos/Sync-my-L2P/Sync-my-L2P/issues/33","id":74532916,"user":{"login":"justin-time","id":9631683,"avatar_url":"https://avatars.githubusercontent.com/u/9631683?v=3","gravatar_id":"","url":"https://api.github.com/users/justin-time","html_url":"https://github.com/justin-time","followers_url":"https://api.github.com/users/justin-time/followers","following_url":"https://api.github.com/users/justin-time/following{/other_user}","gists_url":"https://api.github.com/users/justin-time/gists{/gist_id}","starred_url":"https://api.github.com/users/justin-time/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justin-time/subscriptions","organizations_url":"https://api.github.com/users/justin-time/orgs","repos_url":"https://api.github.com/users/justin-time/repos","events_url":"https://api.github.com/users/justin-time/events{/privacy}","received_events_url":"https://api.github.com/users/justin-time/received_events","type":"User","site_admin":false},"created_at":"2015-02-16T16:17:20Z","updated_at":"2015-02-16T16:17:20Z","body":"The statement `currentElement->data(dateRole).toInt();` returns always 0 and so the test\r\n`QFileInfo(directory, filename).lastModified().toMSecsSinceEpoch()/1000 < currentElement->data(dateRole).toInt()` returns integer < 0 → always false!"}}