1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-04 16:37:34 +00:00
serenity/Userland/DevTools/HackStudio/Git
sin-ack ca2c81251a Everywhere: Replace Model::update() with Model::invalidate()
Most of the models were just calling did_update anyway, which is
pointless since it can be unified to the base Model class. Instead, code
calling update() will now call invalidate(), which functions identically
and is more obvious in what it does.

Additionally, a default implementation is provided, which removes the
need to add empty implementations of update() for each model subclass.

Co-Authored-By: Ali Mohammad Pur <ali.mpfard@gmail.com>
2021-08-06 19:14:31 +02:00
..
DiffViewer.cpp DevTools: Remove unused header includes 2021-08-01 08:10:16 +02:00
DiffViewer.h LibGUI: Rename ScrollableWidget => AbstractScrollableWidget 2021-05-03 21:03:13 +02:00
GitFilesModel.cpp AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
GitFilesModel.h Everywhere: Replace Model::update() with Model::invalidate() 2021-08-06 19:14:31 +02:00
GitFilesView.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
GitFilesView.h Userland: Change typedef to using directive 2021-05-21 10:07:22 +01:00
GitRepo.cpp DevTools: Remove unused header includes 2021-08-01 08:10:16 +02:00
GitRepo.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
GitWidget.cpp DevTools: Remove unused header includes 2021-08-01 08:10:16 +02:00
GitWidget.h Userland: Change typedef to using directive 2021-05-21 10:07:22 +01:00