mirror of
https://github.com/RGBCube/serenity
synced 2025-05-22 17:05:10 +00:00
LibGUI: Misc tweaks
Minus two empty lines because clang-format insists on it, and plus an underscore.
This commit is contained in:
parent
91d3fc54be
commit
fd11c96e8e
3 changed files with 2 additions and 4 deletions
|
@ -198,8 +198,8 @@ void GItemView::mousemove_event(GMouseEvent& event)
|
|||
selection().add(model()->index(item_index, model_column()));
|
||||
}
|
||||
if (event.modifiers() & Mod_Ctrl) {
|
||||
for (auto storeditem : m_rubber_band_remembered_selection) {
|
||||
selection().add(storeditem);
|
||||
for (auto stored_item : m_rubber_band_remembered_selection) {
|
||||
selection().add(stored_item);
|
||||
}
|
||||
}
|
||||
update();
|
||||
|
|
|
@ -90,7 +90,6 @@ public:
|
|||
// FIXME: This should take glyph spacing into account, no?
|
||||
int glyph_width() const { return font().glyph_width('x'); }
|
||||
|
||||
|
||||
void insert_at_cursor_or_replace_selection(const StringView&);
|
||||
bool write_to_file(const StringView& path);
|
||||
bool has_selection() const { return m_selection.is_valid(); }
|
||||
|
|
|
@ -435,7 +435,6 @@ void GTreeView::keydown_event(GKeyEvent& event)
|
|||
return;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
int GTreeView::item_count() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue