mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
NO-OP: whitespace
- remove trailing whitespace
- remove space after opening brackets and before closing brackets
- add space around operators
- do not use '//' for multi-line comments, do not use "//" on line-start
to comment-out code breaking indenting (-Wmisleading-indent)
- do add a single space after comment-start /*{SPACE}... or //{SPACE}...
- reserve duplicate whitespace " " for alignment, remove other duplicate
whitespace
- use established "TODO" and "XXX" (highlighted keywords)
- remove equal-sign series "====" (those indicate merge conflicts)
This commit is contained in:
parent
75122af118
commit
ceac42cc03
11 changed files with 426 additions and 425 deletions
|
|
@ -79,7 +79,7 @@ ScriptSelector::ScriptSelector (std::string title, LuaScriptInfo::ScriptType typ
|
|||
|
||||
setup_list ();
|
||||
show_all ();
|
||||
|
||||
|
||||
script_combo_changed();
|
||||
}
|
||||
|
||||
|
|
@ -95,20 +95,20 @@ void
|
|||
ScriptSelector::setup_list ()
|
||||
{
|
||||
_combocon.block();
|
||||
|
||||
|
||||
vector<string> script_names;
|
||||
for (LuaScriptList::const_iterator s = _scripts.begin(); s != _scripts.end(); ++s) {
|
||||
if ((*s)->name != "Shortcut") {
|
||||
script_names.push_back ((*s)->name);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
_script_combo.clear();
|
||||
_script_combo.set_row_separator_func (sigc::mem_fun (*this, &ScriptSelector::script_separator));
|
||||
|
||||
_script_combo.append_text ("Shortcut");
|
||||
_script_combo.append_text ("separator");
|
||||
|
||||
|
||||
vector<string>::const_iterator i;
|
||||
for (i = script_names.begin(); i != script_names.end(); ++i) {
|
||||
_script_combo.append_text (*i);
|
||||
|
|
@ -132,7 +132,7 @@ ScriptSelector::script_combo_changed ()
|
|||
}
|
||||
|
||||
if (_script) {
|
||||
|
||||
|
||||
if (_script->name == "Shortcut") {
|
||||
_type.hide();
|
||||
_type_label.hide();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue