Fix build on macOS.

This commit is contained in:
John Preston 2021-04-06 18:53:03 +04:00
parent bd42c68978
commit 8c7217ad56
7 changed files with 4 additions and 12 deletions

View File

@ -126,10 +126,6 @@ QString UiIntegration::timeFormat() {
return cTimeFormat();
}
QWidget *UiIntegration::modalWindowParent() {
return Core::App().getModalParent();
}
std::shared_ptr<ClickHandler> UiIntegration::createLinkHandler(
const EntityLinkData &data,
const std::any &context) {

View File

@ -46,8 +46,6 @@ public:
void startFontsEnd() override;
QString timeFormat() override;
QWidget *modalWindowParent() override;
std::shared_ptr<ClickHandler> createLinkHandler(
const EntityLinkData &data,
const std::any &context) override;

View File

@ -14,7 +14,7 @@ class HistoryItem;
class PasscodeBox;
namespace Core {
class CloudPasswordState;
struct CloudPasswordState;
} // namespace Core
namespace Main {

View File

@ -130,7 +130,7 @@ void Panel::chooseShippingOption(const ShippingOptions &options) {
options.selectedId,
&ShippingOption::id);
const auto index = (i != end(options.list))
? (i - begin(options.list))
? int(i - begin(options.list))
: -1;
const auto group = std::make_shared<RadiobuttonGroup>(index);

View File

@ -91,8 +91,7 @@ CountrySelectBox::CountrySelectBox(QWidget*)
}
CountrySelectBox::CountrySelectBox(QWidget*, const QString &iso, Type type)
: _type(type)
, _select(this, st::defaultMultiSelect, tr::lng_country_ph())
: _select(this, st::defaultMultiSelect, tr::lng_country_ph())
, _ownedInner(this, iso, type) {
}

View File

@ -42,7 +42,6 @@ private:
void submit();
void applyFilterUpdate(const QString &query);
Type _type = Type::Phones;
object_ptr<MultiSelect> _select;
class Inner;

@ -1 +1 @@
Subproject commit 8686905ee40eb8dbe171024e04e41a32069c8add
Subproject commit 876f0f06dc8eac766aecd695944455eaf577a4b9