{"action":"created","issue":{"url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/2655","labels_url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/2655/labels{/name}","comments_url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/2655/comments","events_url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/2655/events","html_url":"https://github.com/qbittorrent/qBittorrent/pull/2655","id":59940626,"number":2655,"title":"Select name part only for renaming","user":{"login":"chrishirst","id":3680285,"avatar_url":"https://avatars.githubusercontent.com/u/3680285?v=3","gravatar_id":"","url":"https://api.github.com/users/chrishirst","html_url":"https://github.com/chrishirst","followers_url":"https://api.github.com/users/chrishirst/followers","following_url":"https://api.github.com/users/chrishirst/following{/other_user}","gists_url":"https://api.github.com/users/chrishirst/gists{/gist_id}","starred_url":"https://api.github.com/users/chrishirst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrishirst/subscriptions","organizations_url":"https://api.github.com/users/chrishirst/orgs","repos_url":"https://api.github.com/users/chrishirst/repos","events_url":"https://api.github.com/users/chrishirst/events{/privacy}","received_events_url":"https://api.github.com/users/chrishirst/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-05T11:42:30Z","updated_at":"2015-03-07T10:25:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/qbittorrent/qBittorrent/pulls/2655","html_url":"https://github.com/qbittorrent/qBittorrent/pull/2655","diff_url":"https://github.com/qbittorrent/qBittorrent/pull/2655.diff","patch_url":"https://github.com/qbittorrent/qBittorrent/pull/2655.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/comments/77683069","html_url":"https://github.com/qbittorrent/qBittorrent/pull/2655#issuecomment-77683069","issue_url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/2655","id":77683069,"user":{"login":"pmzqla","id":6256149,"avatar_url":"https://avatars.githubusercontent.com/u/6256149?v=3","gravatar_id":"","url":"https://api.github.com/users/pmzqla","html_url":"https://github.com/pmzqla","followers_url":"https://api.github.com/users/pmzqla/followers","following_url":"https://api.github.com/users/pmzqla/following{/other_user}","gists_url":"https://api.github.com/users/pmzqla/gists{/gist_id}","starred_url":"https://api.github.com/users/pmzqla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmzqla/subscriptions","organizations_url":"https://api.github.com/users/pmzqla/orgs","repos_url":"https://api.github.com/users/pmzqla/repos","events_url":"https://api.github.com/users/pmzqla/events{/privacy}","received_events_url":"https://api.github.com/users/pmzqla/received_events","type":"User","site_admin":false},"created_at":"2015-03-07T10:25:37Z","updated_at":"2015-03-07T10:25:37Z","body":">Certainly, somebody tell me if QT has a \"isFile\" or \"isFolder\" property to use 'cos I didn't find one.\r\n\r\nhttp://qt-project.org/doc/qt-4.8/qfileinfo.html#isFile\r\nBut I don't think it's the right approach. First, you get only the name and not the full path. Second, we know beforehand if we are renaming a file or not, so I'd simply create an alternative method or add a new argument to the current one."}}