Skip to content

Commit fd11c96

Browse files
bugaevcawesomekling
authored andcommitted
LibGUI: Misc tweaks
Minus two empty lines because clang-format insists on it, and plus an underscore.
1 parent 91d3fc5 commit fd11c96

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

Libraries/LibGUI/GItemView.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,8 @@ void GItemView::mousemove_event(GMouseEvent& event)
198198
selection().add(model()->index(item_index, model_column()));
199199
}
200200
if (event.modifiers() & Mod_Ctrl) {
201-
for (auto storeditem : m_rubber_band_remembered_selection) {
202-
selection().add(storeditem);
201+
for (auto stored_item : m_rubber_band_remembered_selection) {
202+
selection().add(stored_item);
203203
}
204204
}
205205
update();

Libraries/LibGUI/GTextEditor.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ class GTextEditor
9090
// FIXME: This should take glyph spacing into account, no?
9191
int glyph_width() const { return font().glyph_width('x'); }
9292

93-
9493
void insert_at_cursor_or_replace_selection(const StringView&);
9594
bool write_to_file(const StringView& path);
9695
bool has_selection() const { return m_selection.is_valid(); }

Libraries/LibGUI/GTreeView.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,6 @@ void GTreeView::keydown_event(GKeyEvent& event)
435435
return;
436436
}
437437
}
438-
439438
}
440439

441440
int GTreeView::item_count() const

0 commit comments

Comments
 (0)