{"action":"created","comment":{"url":"https://api.github.com/repos/citra-emu/citra/pulls/comments/169505825","pull_request_review_id":98042838,"id":169505825,"diff_hunk":"@@ -0,0 +1,80 @@\n+// Copyright 2016 Citra Emulator Project\n+// Licensed under GPLv2 or any later version\n+// Refer to the license.txt file included.\n+\n+#include <QFileDialog>\n+\n+#include \"citra_qt/configuration/configure_camera_individual.h\"\n+#include \"core/frontend/camera/factory.cpp\"\n+#include \"core/settings.h\"\n+#include \"ui_configure_camera_individual.h\"\n+\n+ConfigureCameraIndividual::ConfigureCameraIndividual(QWidget* parent)\n+    : QWidget(parent), ui(new Ui::ConfigureCameraIndividual) {\n+    ui->setupUi(this);\n+}\n+\n+ConfigureCameraIndividual::~ConfigureCameraIndividual() {}\n+\n+void ConfigureCameraIndividual::setConfiguration() {\n+    int camera_mode_index = 0;\n+    for (int index = 0; index < ui->camera_mode_combobox->count(); index++) {\n+        if (ui->camera_mode_combobox->itemText(index).toStdString() ==\n+            Settings::values.camera_name[m_CameraId]) {","path":"src/citra_qt/configuration/configure_camera_individual.cpp","position":null,"original_position":23,"commit_id":"38c1e7f99ece8940d68cd5b1cb3e382e048e4f96","original_commit_id":"dd5d29406972c616d190244afbcdb46cece40424","user":{"login":"codename5","id":36585508,"avatar_url":"https://avatars1.githubusercontent.com/u/36585508?v=4","gravatar_id":"","url":"https://api.github.com/users/codename5","html_url":"https://github.com/codename5","followers_url":"https://api.github.com/users/codename5/followers","following_url":"https://api.github.com/users/codename5/following{/other_user}","gists_url":"https://api.github.com/users/codename5/gists{/gist_id}","starred_url":"https://api.github.com/users/codename5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codename5/subscriptions","organizations_url":"https://api.github.com/users/codename5/orgs","repos_url":"https://api.github.com/users/codename5/repos","events_url":"https://api.github.com/users/codename5/events{/privacy}","received_events_url":"https://api.github.com/users/codename5/received_events","type":"User","site_admin":false},"body":"Fixed. Made the setting save into data property of combobox.","created_at":"2018-02-21T00:40:10Z","updated_at":"2018-02-21T00:40:10Z","html_url":"https://github.com/citra-emu/citra/pull/3451#discussion_r169505825","pull_request_url":"https://api.github.com/repos/citra-emu/citra/pulls/3451","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/citra-emu/citra/pulls/comments/169505825"},"html":{"href":"https://github.com/citra-emu/citra/pull/3451#discussion_r169505825"},"pull_request":{"href":"https://api.github.com/repos/citra-emu/citra/pulls/3451"}},"in_reply_to_id":169256173},"pull_request":{"url":"https://api.github.com/repos/citra-emu/citra/pulls/3451","id":170095895,"html_url":"https://github.com/citra-emu/citra/pull/3451","diff_url":"https://github.com/citra-emu/citra/pull/3451.diff","patch_url":"https://github.com/citra-emu/citra/pull/3451.patch","issue_url":"https://api.github.com/repos/citra-emu/citra/issues/3451","number":3451,"state":"open","locked":false,"title":"Merged PR#30 and added a camera tab in configuration","user":{"login":"codename5","id":36585508,"avatar_url":"https://avatars1.githubusercontent.com/u/36585508?v=4","gravatar_id":"","url":"https://api.github.com/users/codename5","html_url":"https://github.com/codename5","followers_url":"https://api.github.com/users/codename5/followers","following_url":"https://api.github.com/users/codename5/following{/other_user}","gists_url":"https://api.github.com/users/codename5/gists{/gist_id}","starred_url":"https://api.github.com/users/codename5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codename5/subscriptions","organizations_url":"https://api.github.com/users/codename5/orgs","repos_url":"https://api.github.com/users/codename5/repos","events_url":"https://api.github.com/users/codename5/events{/privacy}","received_events_url":"https://api.github.com/users/codename5/received_events","type":"User","site_admin":false},"body":"Merged PR#30 into current main branch. This allows the user to add an image file to any of the 3 cameras in addition to the default blank image. Only PNG is supported as of this time.\r\n\r\nAdded a camera tab in configuration so the user can change the image at will (check below).\r\n\r\n![image](https://user-images.githubusercontent.com/36585508/36403236-a851f302-15b1-11e8-9a4a-66d1f9e33780.png)\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/citra-emu/citra/3451)\n<!-- Reviewable:end -->\n","created_at":"2018-02-20T03:48:25Z","updated_at":"2018-02-21T00:40:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ccec2829aa27a7f155994fb03b739494e65acbcc","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/citra-emu/citra/pulls/3451/commits","review_comments_url":"https://api.github.com/repos/citra-emu/citra/pulls/3451/comments","review_comment_url":"https://api.github.com/repos/citra-emu/citra/pulls/comments{/number}","comments_url":"https://api.github.com/repos/citra-emu/citra/issues/3451/comments","statuses_url":"https://api.github.com/repos/citra-emu/citra/statuses/38c1e7f99ece8940d68cd5b1cb3e382e048e4f96","head":{"label":"codename5:image-camera","ref":"image-camera","sha":"38c1e7f99ece8940d68cd5b1cb3e382e048e4f96","user":{"login":"codename5","id":36585508,"avatar_url":"https://avatars1.githubusercontent.com/u/36585508?v=4","gravatar_id":"","url":"https://api.github.com/users/codename5","html_url":"https://github.com/codename5","followers_url":"https://api.github.com/users/codename5/followers","following_url":"https://api.github.com/users/codename5/following{/other_user}","gists_url":"https://api.github.com/users/codename5/gists{/gist_id}","starred_url":"https://api.github.com/users/codename5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codename5/subscriptions","organizations_url":"https://api.github.com/users/codename5/orgs","repos_url":"https://api.github.com/users/codename5/repos","events_url":"https://api.github.com/users/codename5/events{/privacy}","received_events_url":"https://api.github.com/users/codename5/received_events","type":"User","site_admin":false},"repo":{"id":122077122,"name":"citra","full_name":"codename5/citra","owner":{"login":"codename5","id":36585508,"avatar_url":"https://avatars1.githubusercontent.com/u/36585508?v=4","gravatar_id":"","url":"https://api.github.com/users/codename5","html_url":"https://github.com/codename5","followers_url":"https://api.github.com/users/codename5/followers","following_url":"https://api.github.com/users/codename5/following{/other_user}","gists_url":"https://api.github.com/users/codename5/gists{/gist_id}","starred_url":"https://api.github.com/users/codename5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codename5/subscriptions","organizations_url":"https://api.github.com/users/codename5/orgs","repos_url":"https://api.github.com/users/codename5/repos","events_url":"https://api.github.com/users/codename5/events{/privacy}","received_events_url":"https://api.github.com/users/codename5/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/codename5/citra","description":"A Nintendo 3DS Emulator","fork":true,"url":"https://api.github.com/repos/codename5/citra","forks_url":"https://api.github.com/repos/codename5/citra/forks","keys_url":"https://api.github.com/repos/codename5/citra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codename5/citra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codename5/citra/teams","hooks_url":"https://api.github.com/repos/codename5/citra/hooks","issue_events_url":"https://api.github.com/repos/codename5/citra/issues/events{/number}","events_url":"https://api.github.com/repos/codename5/citra/events","assignees_url":"https://api.github.com/repos/codename5/citra/assignees{/user}","branches_url":"https://api.github.com/repos/codename5/citra/branches{/branch}","tags_url":"https://api.github.com/repos/codename5/citra/tags","blobs_url":"https://api.github.com/repos/codename5/citra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codename5/citra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codename5/citra/git/refs{/sha}","trees_url":"https://api.github.com/repos/codename5/citra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codename5/citra/statuses/{sha}","languages_url":"https://api.github.com/repos/codename5/citra/languages","stargazers_url":"https://api.github.com/repos/codename5/citra/stargazers","contributors_url":"https://api.github.com/repos/codename5/citra/contributors","subscribers_url":"https://api.github.com/repos/codename5/citra/subscribers","subscription_url":"https://api.github.com/repos/codename5/citra/subscription","commits_url":"https://api.github.com/repos/codename5/citra/commits{/sha}","git_commits_url":"https://api.github.com/repos/codename5/citra/git/commits{/sha}","comments_url":"https://api.github.com/repos/codename5/citra/comments{/number}","issue_comment_url":"https://api.github.com/repos/codename5/citra/issues/comments{/number}","contents_url":"https://api.github.com/repos/codename5/citra/contents/{+path}","compare_url":"https://api.github.com/repos/codename5/citra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codename5/citra/merges","archive_url":"https://api.github.com/repos/codename5/citra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codename5/citra/downloads","issues_url":"https://api.github.com/repos/codename5/citra/issues{/number}","pulls_url":"https://api.github.com/repos/codename5/citra/pulls{/number}","milestones_url":"https://api.github.com/repos/codename5/citra/milestones{/number}","notifications_url":"https://api.github.com/repos/codename5/citra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codename5/citra/labels{/name}","releases_url":"https://api.github.com/repos/codename5/citra/releases{/id}","deployments_url":"https://api.github.com/repos/codename5/citra/deployments","created_at":"2018-02-19T14:52:02Z","updated_at":"2018-02-19T14:52:07Z","pushed_at":"2018-02-21T00:26:34Z","git_url":"git://github.com/codename5/citra.git","ssh_url":"git@github.com:codename5/citra.git","clone_url":"https://github.com/codename5/citra.git","svn_url":"https://github.com/codename5/citra","homepage":"https://citra-emu.org","size":18858,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"citra-emu:master","ref":"master","sha":"20f6cb1a22a64e709b14a9a9b83b914de75755ac","user":{"login":"citra-emu","id":7605670,"avatar_url":"https://avatars1.githubusercontent.com/u/7605670?v=4","gravatar_id":"","url":"https://api.github.com/users/citra-emu","html_url":"https://github.com/citra-emu","followers_url":"https://api.github.com/users/citra-emu/followers","following_url":"https://api.github.com/users/citra-emu/following{/other_user}","gists_url":"https://api.github.com/users/citra-emu/gists{/gist_id}","starred_url":"https://api.github.com/users/citra-emu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/citra-emu/subscriptions","organizations_url":"https://api.github.com/users/citra-emu/orgs","repos_url":"https://api.github.com/users/citra-emu/repos","events_url":"https://api.github.com/users/citra-emu/events{/privacy}","received_events_url":"https://api.github.com/users/citra-emu/received_events","type":"Organization","site_admin":false},"repo":{"id":19866730,"name":"citra","full_name":"citra-emu/citra","owner":{"login":"citra-emu","id":7605670,"avatar_url":"https://avatars1.githubusercontent.com/u/7605670?v=4","gravatar_id":"","url":"https://api.github.com/users/citra-emu","html_url":"https://github.com/citra-emu","followers_url":"https://api.github.com/users/citra-emu/followers","following_url":"https://api.github.com/users/citra-emu/following{/other_user}","gists_url":"https://api.github.com/users/citra-emu/gists{/gist_id}","starred_url":"https://api.github.com/users/citra-emu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/citra-emu/subscriptions","organizations_url":"https://api.github.com/users/citra-emu/orgs","repos_url":"https://api.github.com/users/citra-emu/repos","events_url":"https://api.github.com/users/citra-emu/events{/privacy}","received_events_url":"https://api.github.com/users/citra-emu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/citra-emu/citra","description":"A Nintendo 3DS Emulator","fork":false,"url":"https://api.github.com/repos/citra-emu/citra","forks_url":"https://api.github.com/repos/citra-emu/citra/forks","keys_url":"https://api.github.com/repos/citra-emu/citra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/citra-emu/citra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/citra-emu/citra/teams","hooks_url":"https://api.github.com/repos/citra-emu/citra/hooks","issue_events_url":"https://api.github.com/repos/citra-emu/citra/issues/events{/number}","events_url":"https://api.github.com/repos/citra-emu/citra/events","assignees_url":"https://api.github.com/repos/citra-emu/citra/assignees{/user}","branches_url":"https://api.github.com/repos/citra-emu/citra/branches{/branch}","tags_url":"https://api.github.com/repos/citra-emu/citra/tags","blobs_url":"https://api.github.com/repos/citra-emu/citra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/citra-emu/citra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/citra-emu/citra/git/refs{/sha}","trees_url":"https://api.github.com/repos/citra-emu/citra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/citra-emu/citra/statuses/{sha}","languages_url":"https://api.github.com/repos/citra-emu/citra/languages","stargazers_url":"https://api.github.com/repos/citra-emu/citra/stargazers","contributors_url":"https://api.github.com/repos/citra-emu/citra/contributors","subscribers_url":"https://api.github.com/repos/citra-emu/citra/subscribers","subscription_url":"https://api.github.com/repos/citra-emu/citra/subscription","commits_url":"https://api.github.com/repos/citra-emu/citra/commits{/sha}","git_commits_url":"https://api.github.com/repos/citra-emu/citra/git/commits{/sha}","comments_url":"https://api.github.com/repos/citra-emu/citra/comments{/number}","issue_comment_url":"https://api.github.com/repos/citra-emu/citra/issues/comments{/number}","contents_url":"https://api.github.com/repos/citra-emu/citra/contents/{+path}","compare_url":"https://api.github.com/repos/citra-emu/citra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/citra-emu/citra/merges","archive_url":"https://api.github.com/repos/citra-emu/citra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/citra-emu/citra/downloads","issues_url":"https://api.github.com/repos/citra-emu/citra/issues{/number}","pulls_url":"https://api.github.com/repos/citra-emu/citra/pulls{/number}","milestones_url":"https://api.github.com/repos/citra-emu/citra/milestones{/number}","notifications_url":"https://api.github.com/repos/citra-emu/citra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/citra-emu/citra/labels{/name}","releases_url":"https://api.github.com/repos/citra-emu/citra/releases{/id}","deployments_url":"https://api.github.com/repos/citra-emu/citra/deployments","created_at":"2014-05-16T18:33:15Z","updated_at":"2018-02-20T22:46:29Z","pushed_at":"2018-02-21T00:26:39Z","git_url":"git://github.com/citra-emu/citra.git","ssh_url":"git@github.com:citra-emu/citra.git","clone_url":"https://github.com/citra-emu/citra.git","svn_url":"https://github.com/citra-emu/citra","homepage":"https://citra-emu.org","size":23735,"stargazers_count":3753,"watchers_count":3753,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":867,"mirror_url":null,"archived":false,"open_issues_count":310,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0"},"forks":867,"open_issues":310,"watchers":3753,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/citra-emu/citra/pulls/3451"},"html":{"href":"https://github.com/citra-emu/citra/pull/3451"},"issue":{"href":"https://api.github.com/repos/citra-emu/citra/issues/3451"},"comments":{"href":"https://api.github.com/repos/citra-emu/citra/issues/3451/comments"},"review_comments":{"href":"https://api.github.com/repos/citra-emu/citra/pulls/3451/comments"},"review_comment":{"href":"https://api.github.com/repos/citra-emu/citra/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/citra-emu/citra/pulls/3451/commits"},"statuses":{"href":"https://api.github.com/repos/citra-emu/citra/statuses/38c1e7f99ece8940d68cd5b1cb3e382e048e4f96"}},"author_association":"NONE"}}
{"actor":{"display_login":"codename5"}}