mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:17:35 +00:00
Userland: Fix remaining smart pointer const-correctness issues
This commit is contained in:
parent
faa1a09042
commit
33e87d1627
17 changed files with 23 additions and 23 deletions
|
@ -306,7 +306,7 @@ GalleryWidget::GalleryWidget()
|
|||
|
||||
m_cursors_tableview->on_activation = [&](const GUI::ModelIndex& index) {
|
||||
auto icon_index = index.model()->index(index.row(), MouseCursorModel::Column::Bitmap);
|
||||
m_cursors_tableview->set_override_cursor(NonnullRefPtr<Gfx::Bitmap>(icon_index.data().as_bitmap()));
|
||||
m_cursors_tableview->set_override_cursor(NonnullRefPtr<Gfx::Bitmap const>(icon_index.data().as_bitmap()));
|
||||
};
|
||||
|
||||
auto icons_tab = tab_widget.try_add_tab<GUI::Widget>("Icons").release_value_but_fixme_should_propagate_errors();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue