mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Removed redundant constructor from Ui::Premium::TopBar.
This commit is contained in:
@@ -1064,9 +1064,11 @@ QPointer<Ui::RpWidget> Premium::createPinnedToTop(
|
||||
return Ui::CreateChild<Ui::Premium::TopBar>(
|
||||
parent.get(),
|
||||
st::defaultPremiumCover,
|
||||
clickContextOther,
|
||||
std::move(title),
|
||||
std::move(about));
|
||||
Ui::Premium::TopBarDescriptor{
|
||||
.clickContextOther = clickContextOther,
|
||||
.title = std::move(title),
|
||||
.about = std::move(about),
|
||||
});
|
||||
}();
|
||||
_setPaused = [=](bool paused) {
|
||||
content->setPaused(paused);
|
||||
|
Reference in New Issue
Block a user