{"action":"created","comment":{"url":"https://api.github.com/repos/LMMS/lmms/pulls/comments/23000111","id":23000111,"diff_hunk":"@@ -1148,6 +1174,29 @@ class fxLineLcdSpinBox : public LcdSpinBox\n \t\t\tgui->fxMixerView()->setFocus();// set focus to fxMixer window\n \t\t\t//engine::getFxMixerView()->raise();\n \t\t}\n+\n+\t\tvirtual void contextMenuEvent( QContextMenuEvent* event )\n+\t\t{\n+\t\t\t// for the case, the user clicked right while pressing left mouse-\n+\t\t\t// button, the context-menu appears while mouse-cursor is still hidden\n+\t\t\t// and it isn't shown again until user does something which causes\n+\t\t\t// an QApplication::restoreOverrideCursor()-call...\n+\t\t\tmouseReleaseEvent( NULL );\n+\n+\t\t\tQPointer<CaptionMenu> contextMenu = new CaptionMenu( model()->displayName(), this );\n+\n+\t\t\t// This condition is here just as a safety check, fxLineLcdSpinBox is aways\n+\t\t\t// created inside a TabWidget inside an InstrumentTrackWindow\n+\t\t\tif ( InstrumentTrackWindow* window = dynamic_cast<InstrumentTrackWindow*>( (QWidget *)this->parent()->parent() ) )","path":"src/tracks/InstrumentTrack.cpp","position":63,"original_position":63,"commit_id":"079cd5c6702840b0adf2bca363bc40e0a0413ac6","original_commit_id":"079cd5c6702840b0adf2bca363bc40e0a0413ac6","user":{"login":"badosu","id":347552,"avatar_url":"https://avatars.githubusercontent.com/u/347552?v=3","gravatar_id":"","url":"https://api.github.com/users/badosu","html_url":"https://github.com/badosu","followers_url":"https://api.github.com/users/badosu/followers","following_url":"https://api.github.com/users/badosu/following{/other_user}","gists_url":"https://api.github.com/users/badosu/gists{/gist_id}","starred_url":"https://api.github.com/users/badosu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/badosu/subscriptions","organizations_url":"https://api.github.com/users/badosu/orgs","repos_url":"https://api.github.com/users/badosu/repos","events_url":"https://api.github.com/users/badosu/events{/privacy}","received_events_url":"https://api.github.com/users/badosu/received_events","type":"User","site_admin":false},"body":"@tresf I really would like some feedback here because I fear I have done something horrendous here. :fearful: ","created_at":"2015-01-15T10:09:22Z","updated_at":"2015-01-15T10:09:22Z","html_url":"https://github.com/LMMS/lmms/pull/1627#discussion_r23000111","pull_request_url":"https://api.github.com/repos/LMMS/lmms/pulls/1627","_links":{"self":{"href":"https://api.github.com/repos/LMMS/lmms/pulls/comments/23000111"},"html":{"href":"https://github.com/LMMS/lmms/pull/1627#discussion_r23000111"},"pull_request":{"href":"https://api.github.com/repos/LMMS/lmms/pulls/1627"}}},"pull_request":{"url":"https://api.github.com/repos/LMMS/lmms/pulls/1627","id":27374204,"html_url":"https://github.com/LMMS/lmms/pull/1627","diff_url":"https://github.com/LMMS/lmms/pull/1627.diff","patch_url":"https://github.com/LMMS/lmms/pull/1627.patch","issue_url":"https://api.github.com/repos/LMMS/lmms/issues/1627","number":1627,"state":"open","locked":false,"title":"Add \"assign to new fx channel\" on FX SpinBox","user":{"login":"badosu","id":347552,"avatar_url":"https://avatars.githubusercontent.com/u/347552?v=3","gravatar_id":"","url":"https://api.github.com/users/badosu","html_url":"https://github.com/badosu","followers_url":"https://api.github.com/users/badosu/followers","following_url":"https://api.github.com/users/badosu/following{/other_user}","gists_url":"https://api.github.com/users/badosu/gists{/gist_id}","starred_url":"https://api.github.com/users/badosu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/badosu/subscriptions","organizations_url":"https://api.github.com/users/badosu/orgs","repos_url":"https://api.github.com/users/badosu/repos","events_url":"https://api.github.com/users/badosu/events{/privacy}","received_events_url":"https://api.github.com/users/badosu/received_events","type":"User","site_admin":false},"body":"![2015-01-14-165631_1920x1080_scrot](https://cloud.githubusercontent.com/assets/347552/5745329/0f8f6aa6-9c0f-11e4-9c00-e579300f945c.png)\r\n\r\nFixes #604 and #921","created_at":"2015-01-14T19:04:49Z","updated_at":"2015-01-15T10:09:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2babd501e44289d03741e2a4014fd62297fff12f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/LMMS/lmms/pulls/1627/commits","review_comments_url":"https://api.github.com/repos/LMMS/lmms/pulls/1627/comments","review_comment_url":"https://api.github.com/repos/LMMS/lmms/pulls/comments/{number}","comments_url":"https://api.github.com/repos/LMMS/lmms/issues/1627/comments","statuses_url":"https://api.github.com/repos/LMMS/lmms/statuses/079cd5c6702840b0adf2bca363bc40e0a0413ac6","head":{"label":"badosu:add-assign-to-new-fx-spinner","ref":"add-assign-to-new-fx-spinner","sha":"079cd5c6702840b0adf2bca363bc40e0a0413ac6","user":{"login":"badosu","id":347552,"avatar_url":"https://avatars.githubusercontent.com/u/347552?v=3","gravatar_id":"","url":"https://api.github.com/users/badosu","html_url":"https://github.com/badosu","followers_url":"https://api.github.com/users/badosu/followers","following_url":"https://api.github.com/users/badosu/following{/other_user}","gists_url":"https://api.github.com/users/badosu/gists{/gist_id}","starred_url":"https://api.github.com/users/badosu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/badosu/subscriptions","organizations_url":"https://api.github.com/users/badosu/orgs","repos_url":"https://api.github.com/users/badosu/repos","events_url":"https://api.github.com/users/badosu/events{/privacy}","received_events_url":"https://api.github.com/users/badosu/received_events","type":"User","site_admin":false},"repo":{"id":28506018,"name":"lmms","full_name":"badosu/lmms","owner":{"login":"badosu","id":347552,"avatar_url":"https://avatars.githubusercontent.com/u/347552?v=3","gravatar_id":"","url":"https://api.github.com/users/badosu","html_url":"https://github.com/badosu","followers_url":"https://api.github.com/users/badosu/followers","following_url":"https://api.github.com/users/badosu/following{/other_user}","gists_url":"https://api.github.com/users/badosu/gists{/gist_id}","starred_url":"https://api.github.com/users/badosu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/badosu/subscriptions","organizations_url":"https://api.github.com/users/badosu/orgs","repos_url":"https://api.github.com/users/badosu/repos","events_url":"https://api.github.com/users/badosu/events{/privacy}","received_events_url":"https://api.github.com/users/badosu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/badosu/lmms","description":"cross-platform music production software","fork":true,"url":"https://api.github.com/repos/badosu/lmms","forks_url":"https://api.github.com/repos/badosu/lmms/forks","keys_url":"https://api.github.com/repos/badosu/lmms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/badosu/lmms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/badosu/lmms/teams","hooks_url":"https://api.github.com/repos/badosu/lmms/hooks","issue_events_url":"https://api.github.com/repos/badosu/lmms/issues/events{/number}","events_url":"https://api.github.com/repos/badosu/lmms/events","assignees_url":"https://api.github.com/repos/badosu/lmms/assignees{/user}","branches_url":"https://api.github.com/repos/badosu/lmms/branches{/branch}","tags_url":"https://api.github.com/repos/badosu/lmms/tags","blobs_url":"https://api.github.com/repos/badosu/lmms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/badosu/lmms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/badosu/lmms/git/refs{/sha}","trees_url":"https://api.github.com/repos/badosu/lmms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/badosu/lmms/statuses/{sha}","languages_url":"https://api.github.com/repos/badosu/lmms/languages","stargazers_url":"https://api.github.com/repos/badosu/lmms/stargazers","contributors_url":"https://api.github.com/repos/badosu/lmms/contributors","subscribers_url":"https://api.github.com/repos/badosu/lmms/subscribers","subscription_url":"https://api.github.com/repos/badosu/lmms/subscription","commits_url":"https://api.github.com/repos/badosu/lmms/commits{/sha}","git_commits_url":"https://api.github.com/repos/badosu/lmms/git/commits{/sha}","comments_url":"https://api.github.com/repos/badosu/lmms/comments{/number}","issue_comment_url":"https://api.github.com/repos/badosu/lmms/issues/comments/{number}","contents_url":"https://api.github.com/repos/badosu/lmms/contents/{+path}","compare_url":"https://api.github.com/repos/badosu/lmms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/badosu/lmms/merges","archive_url":"https://api.github.com/repos/badosu/lmms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/badosu/lmms/downloads","issues_url":"https://api.github.com/repos/badosu/lmms/issues{/number}","pulls_url":"https://api.github.com/repos/badosu/lmms/pulls{/number}","milestones_url":"https://api.github.com/repos/badosu/lmms/milestones{/number}","notifications_url":"https://api.github.com/repos/badosu/lmms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/badosu/lmms/labels{/name}","releases_url":"https://api.github.com/repos/badosu/lmms/releases{/id}","created_at":"2014-12-26T09:12:33Z","updated_at":"2015-01-13T02:20:10Z","pushed_at":"2015-01-14T19:32:36Z","git_url":"git://github.com/badosu/lmms.git","ssh_url":"git@github.com:badosu/lmms.git","clone_url":"https://github.com/badosu/lmms.git","svn_url":"https://github.com/badosu/lmms","homepage":"http://lmms.io/","size":56157,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"LMMS:master","ref":"master","sha":"c5fbd3e643138139bd78400b3fd729e1cf45852d","user":{"login":"LMMS","id":6363159,"avatar_url":"https://avatars.githubusercontent.com/u/6363159?v=3","gravatar_id":"","url":"https://api.github.com/users/LMMS","html_url":"https://github.com/LMMS","followers_url":"https://api.github.com/users/LMMS/followers","following_url":"https://api.github.com/users/LMMS/following{/other_user}","gists_url":"https://api.github.com/users/LMMS/gists{/gist_id}","starred_url":"https://api.github.com/users/LMMS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LMMS/subscriptions","organizations_url":"https://api.github.com/users/LMMS/orgs","repos_url":"https://api.github.com/users/LMMS/repos","events_url":"https://api.github.com/users/LMMS/events{/privacy}","received_events_url":"https://api.github.com/users/LMMS/received_events","type":"Organization","site_admin":false},"repo":{"id":15778896,"name":"lmms","full_name":"LMMS/lmms","owner":{"login":"LMMS","id":6363159,"avatar_url":"https://avatars.githubusercontent.com/u/6363159?v=3","gravatar_id":"","url":"https://api.github.com/users/LMMS","html_url":"https://github.com/LMMS","followers_url":"https://api.github.com/users/LMMS/followers","following_url":"https://api.github.com/users/LMMS/following{/other_user}","gists_url":"https://api.github.com/users/LMMS/gists{/gist_id}","starred_url":"https://api.github.com/users/LMMS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LMMS/subscriptions","organizations_url":"https://api.github.com/users/LMMS/orgs","repos_url":"https://api.github.com/users/LMMS/repos","events_url":"https://api.github.com/users/LMMS/events{/privacy}","received_events_url":"https://api.github.com/users/LMMS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LMMS/lmms","description":"cross-platform music production software","fork":false,"url":"https://api.github.com/repos/LMMS/lmms","forks_url":"https://api.github.com/repos/LMMS/lmms/forks","keys_url":"https://api.github.com/repos/LMMS/lmms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LMMS/lmms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LMMS/lmms/teams","hooks_url":"https://api.github.com/repos/LMMS/lmms/hooks","issue_events_url":"https://api.github.com/repos/LMMS/lmms/issues/events{/number}","events_url":"https://api.github.com/repos/LMMS/lmms/events","assignees_url":"https://api.github.com/repos/LMMS/lmms/assignees{/user}","branches_url":"https://api.github.com/repos/LMMS/lmms/branches{/branch}","tags_url":"https://api.github.com/repos/LMMS/lmms/tags","blobs_url":"https://api.github.com/repos/LMMS/lmms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LMMS/lmms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LMMS/lmms/git/refs{/sha}","trees_url":"https://api.github.com/repos/LMMS/lmms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LMMS/lmms/statuses/{sha}","languages_url":"https://api.github.com/repos/LMMS/lmms/languages","stargazers_url":"https://api.github.com/repos/LMMS/lmms/stargazers","contributors_url":"https://api.github.com/repos/LMMS/lmms/contributors","subscribers_url":"https://api.github.com/repos/LMMS/lmms/subscribers","subscription_url":"https://api.github.com/repos/LMMS/lmms/subscription","commits_url":"https://api.github.com/repos/LMMS/lmms/commits{/sha}","git_commits_url":"https://api.github.com/repos/LMMS/lmms/git/commits{/sha}","comments_url":"https://api.github.com/repos/LMMS/lmms/comments{/number}","issue_comment_url":"https://api.github.com/repos/LMMS/lmms/issues/comments/{number}","contents_url":"https://api.github.com/repos/LMMS/lmms/contents/{+path}","compare_url":"https://api.github.com/repos/LMMS/lmms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LMMS/lmms/merges","archive_url":"https://api.github.com/repos/LMMS/lmms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LMMS/lmms/downloads","issues_url":"https://api.github.com/repos/LMMS/lmms/issues{/number}","pulls_url":"https://api.github.com/repos/LMMS/lmms/pulls{/number}","milestones_url":"https://api.github.com/repos/LMMS/lmms/milestones{/number}","notifications_url":"https://api.github.com/repos/LMMS/lmms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LMMS/lmms/labels{/name}","releases_url":"https://api.github.com/repos/LMMS/lmms/releases{/id}","created_at":"2014-01-09T20:43:43Z","updated_at":"2015-01-15T03:31:43Z","pushed_at":"2015-01-15T03:31:42Z","git_url":"git://github.com/LMMS/lmms.git","ssh_url":"git@github.com:LMMS/lmms.git","clone_url":"https://github.com/LMMS/lmms.git","svn_url":"https://github.com/LMMS/lmms","homepage":"http://lmms.io/","size":75209,"stargazers_count":264,"watchers_count":264,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":96,"mirror_url":null,"open_issues_count":371,"forks":96,"open_issues":371,"watchers":264,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LMMS/lmms/pulls/1627"},"html":{"href":"https://github.com/LMMS/lmms/pull/1627"},"issue":{"href":"https://api.github.com/repos/LMMS/lmms/issues/1627"},"comments":{"href":"https://api.github.com/repos/LMMS/lmms/issues/1627/comments"},"review_comments":{"href":"https://api.github.com/repos/LMMS/lmms/pulls/1627/comments"},"review_comment":{"href":"https://api.github.com/repos/LMMS/lmms/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/LMMS/lmms/pulls/1627/commits"},"statuses":{"href":"https://api.github.com/repos/LMMS/lmms/statuses/079cd5c6702840b0adf2bca363bc40e0a0413ac6"}}}}