Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
SubhadeepJasu committed Nov 20, 2021
1 parent 56d358f commit cbf1c76
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/Shell/Dialogs/Preferences/Preferences.vala
Original file line number Diff line number Diff line change
Expand Up @@ -467,40 +467,40 @@ namespace Ensembles.Shell.Dialogs.Preferences {
KeyboardConstants.load_mapping (EnsemblesApp.settings);
int j = 0;
for (int i = 3; i < 8; i++) {
var c_note_item = new ItemInput (j, "C " + i.to_string() , KeyboardConstants.key_bindings[j++], false);
var c_note_item = new ItemInput (j, "C " + i.to_string () , KeyboardConstants.key_bindings[j++], false);
input_binding_items.append (c_note_item);
input_key_box.insert (c_note_item, -1);
var cs_note_item = new ItemInput (j, "C♯ " + i.to_string() , KeyboardConstants.key_bindings[j++], true);
var cs_note_item = new ItemInput (j, "C♯ " + i.to_string () , KeyboardConstants.key_bindings[j++], true);
input_binding_items.append (cs_note_item);
input_key_box.insert (cs_note_item, -1);
var d_note_item = new ItemInput (j, "D " + i.to_string() , KeyboardConstants.key_bindings[j++], false);
var d_note_item = new ItemInput (j, "D " + i.to_string () , KeyboardConstants.key_bindings[j++], false);
input_binding_items.append (d_note_item);
input_key_box.insert (d_note_item, -1);
var ds_note_item = new ItemInput (j, "E♭ " + i.to_string() , KeyboardConstants.key_bindings[j++], true);
var ds_note_item = new ItemInput (j, "E♭ " + i.to_string () , KeyboardConstants.key_bindings[j++], true);
input_binding_items.append (ds_note_item);
input_key_box.insert (ds_note_item, -1);
var e_note_item = new ItemInput (j, "E " + i.to_string() , KeyboardConstants.key_bindings[j++], false);
var e_note_item = new ItemInput (j, "E " + i.to_string () , KeyboardConstants.key_bindings[j++], false);
input_binding_items.append (e_note_item);
input_key_box.insert (e_note_item, -1);
var f_note_item = new ItemInput (j, "F " + i.to_string() , KeyboardConstants.key_bindings[j++], false);
var f_note_item = new ItemInput (j, "F " + i.to_string () , KeyboardConstants.key_bindings[j++], false);
input_binding_items.append (f_note_item);
input_key_box.insert (f_note_item, -1);
var fs_note_item = new ItemInput (j, "F♯ " + i.to_string() , KeyboardConstants.key_bindings[j++], true);
var fs_note_item = new ItemInput (j, "F♯ " + i.to_string () , KeyboardConstants.key_bindings[j++], true);
input_binding_items.append (fs_note_item);
input_key_box.insert (fs_note_item, -1);
var g_note_item = new ItemInput (j, "G " + i.to_string() , KeyboardConstants.key_bindings[j++], false);
var g_note_item = new ItemInput (j, "G " + i.to_string () , KeyboardConstants.key_bindings[j++], false);
input_binding_items.append (g_note_item);
input_key_box.insert (g_note_item, -1);
var gs_note_item = new ItemInput (j, "G♯ " + i.to_string() , KeyboardConstants.key_bindings[j++], true);
var gs_note_item = new ItemInput (j, "G♯ " + i.to_string () , KeyboardConstants.key_bindings[j++], true);
input_binding_items.append (gs_note_item);
input_key_box.insert (gs_note_item, -1);
var a_note_item = new ItemInput (j, "A " + i.to_string() , KeyboardConstants.key_bindings[j++], false);
var a_note_item = new ItemInput (j, "A " + i.to_string () , KeyboardConstants.key_bindings[j++], false);
input_binding_items.append (a_note_item);
input_key_box.insert (a_note_item, -1);
var bf_note_item = new ItemInput (j, "B♭ " + i.to_string() , KeyboardConstants.key_bindings[j++], true);
var bf_note_item = new ItemInput (j, "B♭ " + i.to_string () , KeyboardConstants.key_bindings[j++], true);
input_binding_items.append (bf_note_item);
input_key_box.insert (bf_note_item, -1);
var b_note_item = new ItemInput (j, "B " + i.to_string() , KeyboardConstants.key_bindings[j++], false);
var b_note_item = new ItemInput (j, "B " + i.to_string () , KeyboardConstants.key_bindings[j++], false);
input_binding_items.append (b_note_item);
input_key_box.insert (b_note_item, -1);
}
Expand Down

0 comments on commit cbf1c76

Please sign in to comment.