mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Improve compile time.
This commit is contained in:
@@ -431,6 +431,11 @@ SharedMediaCover::SharedMediaCover(QWidget *parent)
|
||||
createLabel();
|
||||
}
|
||||
|
||||
SharedMediaCover *SharedMediaCover::setToggleShown(rpl::producer<bool> &&shown) {
|
||||
return static_cast<SharedMediaCover*>(
|
||||
SectionWithToggle::setToggleShown(std::move(shown)));
|
||||
}
|
||||
|
||||
void SharedMediaCover::createLabel() {
|
||||
using namespace rpl::mappers;
|
||||
auto label = object_ptr<Ui::FlatLabel>(
|
||||
|
Reference in New Issue
Block a user