Fix build on Windows.
This commit is contained in:
parent
3e968aecc8
commit
f95817861a
|
@ -3253,7 +3253,7 @@ not_null<QWidget*> OverlayWidget::widget() const {
|
|||
|
||||
void OverlayWidget::hide() {
|
||||
clearBeforeHide();
|
||||
applyHideWindowWorkaround();
|
||||
//applyHideWindowWorkaround();
|
||||
_window->hide();
|
||||
}
|
||||
|
||||
|
|
|
@ -143,7 +143,7 @@ void AboutBox(
|
|||
lt_link,
|
||||
tr::lng_settings_privacy_premium_link(
|
||||
) | rpl::map([=](QString t) {
|
||||
return Ui::Text::Link(t, kUrl.utf8());
|
||||
return Ui::Text::Link(t, kUrl.utf16());
|
||||
}),
|
||||
Ui::Text::RichLangValue),
|
||||
st::sponsoredAboutRemoveIcon);
|
||||
|
@ -179,7 +179,7 @@ void AboutBox(
|
|||
rpl::single(arrow),
|
||||
Ui::Text::RichLangValue
|
||||
) | rpl::map([=](TextWithEntities text) {
|
||||
return Ui::Text::Link(std::move(text), kUrl.utf8());
|
||||
return Ui::Text::Link(std::move(text), kUrl.utf16());
|
||||
}),
|
||||
Ui::Text::RichLangValue
|
||||
) | rpl::start_with_next([=, l = label](
|
||||
|
|
|
@ -61,7 +61,8 @@ Data::StatisticalChart StatisticalChartFromJSON(const QByteArray &json) {
|
|||
line.isHiddenOnStart = ranges::contains(hiddenLines, columnId);
|
||||
line.y.resize(length);
|
||||
for (auto i = 0; i < length; i++) {
|
||||
const auto value = array.at(i + 1).toInteger();
|
||||
const auto value = int(base::SafeRound(
|
||||
array.at(i + 1).toDouble()));
|
||||
line.y[i] = value;
|
||||
if (value > line.maxValue) {
|
||||
line.maxValue = value;
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 476d751251c8571e11260b7c712c885f4191d717
|
||||
Subproject commit bdf4ff34f24ef75d5209addf756633f9db6cb232
|
Loading…
Reference in New Issue