1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 16:28:11 +00:00

LibGUI: Move Icon and FontDatabase into the GUI namespace

We also clean up some old references to the old G prefixed GUI classes

This also fixes a potential bug with using: C_OBJECT_ABSTRACT(GAbstractButton)
instead of C_OBJECT_ABSTRACT(AbstractButton)
This commit is contained in:
Shannon Booth 2020-03-07 12:02:21 +13:00 committed by Andreas Kling
parent 57f1c919df
commit 6a3b12664a
24 changed files with 120 additions and 104 deletions

View file

@ -79,7 +79,7 @@ PropertiesDialog::PropertiesDialog(GUI::FileSystemModel& model, String path, boo
m_name_box->set_text(m_name);
m_name_box->on_change = [&, disable_rename]() {
if (disable_rename) {
m_name_box->set_text(m_name); //FIXME: GTextBox does not support set_enabled yet...
m_name_box->set_text(m_name); //FIXME: GUI::TextBox does not support set_enabled yet...
} else {
m_name_dirty = m_name != m_name_box->text();
m_apply_button->set_enabled(true);