mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 06:07:06 +02:00
Fix build on macOS.
This commit is contained in:
parent
bd42c68978
commit
8c7217ad56
7 changed files with 4 additions and 12 deletions
|
@ -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) {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -14,7 +14,7 @@ class HistoryItem;
|
|||
class PasscodeBox;
|
||||
|
||||
namespace Core {
|
||||
class CloudPasswordState;
|
||||
struct CloudPasswordState;
|
||||
} // namespace Core
|
||||
|
||||
namespace Main {
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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) {
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
Loading…
Add table
Reference in a new issue