mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-23 08:00:20 +00:00
ca2c81251a
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> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
main.cpp | ||
NumericInput.cpp | ||
NumericInput.h | ||
OutlineModel.cpp | ||
OutlineModel.h | ||
PDFViewer.cpp | ||
PDFViewer.h | ||
PDFViewerWidget.cpp | ||
PDFViewerWidget.h | ||
SidebarWidget.cpp | ||
SidebarWidget.h |