MCPcopy Create free account
hub / github.com/TDesktop-x64/tdesktop / remove

Method remove

Telegram/SourceFiles/ui/widgets/horizontal_fit_container.cpp:33–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33void HorizontalFitContainer::remove(int id) {
34 if (const auto it = _buttons.find(id); it != _buttons.end()) {
35 _buttons.erase(it);
36 updateLayout(size());
37 }
38}
39
40void HorizontalFitContainer::updateLayout(QSize size) {
41 _layoutLifetime.destroy();

Callers 6

setDynamicImageMethod · 0.45
FixTonAmountInputFunction · 0.45
getDigitsOnlyMethod · 0.45
FormatPhoneFunction · 0.45
FormatDialogsDateFunction · 0.45

Calls 3

findMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected