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:
@@ -164,23 +164,6 @@ void TopBarAbstract::computeIsDark() {
|
||||
_isDark = (contrast > kMinAcceptableContrast);
|
||||
}
|
||||
|
||||
TopBar::TopBar(
|
||||
not_null<QWidget*> parent,
|
||||
const style::PremiumCover &st,
|
||||
Fn<QVariant()> clickContextOther,
|
||||
rpl::producer<QString> title,
|
||||
rpl::producer<TextWithEntities> about,
|
||||
bool light,
|
||||
bool optimizeMinistars)
|
||||
: TopBar(parent, st, {
|
||||
.clickContextOther = std::move(clickContextOther),
|
||||
.title = std::move(title),
|
||||
.about = std::move(about),
|
||||
.light = light,
|
||||
.optimizeMinistars = optimizeMinistars,
|
||||
}) {
|
||||
}
|
||||
|
||||
TopBar::TopBar(
|
||||
not_null<QWidget*> parent,
|
||||
const style::PremiumCover &st,
|
||||
|
Reference in New Issue
Block a user