Fix build for Xcode.

This commit is contained in:
John Preston 2019-02-11 15:55:54 +03:00
parent 83bc6fb39c
commit 4caf26d069
3 changed files with 5 additions and 1 deletions

View File

@ -1555,3 +1555,5 @@ void DialogsWidget::onDialogMoved(int movedFrom, int movedTo) {
_scroll->scrollToY(st + st::dialogsRowHeight);
}
}
DialogsWidget::~DialogsWidget() = default;

View File

@ -91,6 +91,8 @@ public:
void notify_historyMuteUpdated(History *history);
~DialogsWidget();
signals:
void cancelled();

View File

@ -185,7 +185,7 @@ void ConnectionState::Widget::ProxyIcon::paintEvent(QPaintEvent *e) {
p.drawPixmap(0, 0, _toggled ? _cacheOn : _cacheOff);
}
bool ConnectionState::Widget::State::operator==(const State &other) const {
bool ConnectionState::State::operator==(const State &other) const {
return (type == other.type)
&& (useProxy == other.useProxy)
&& (underCursor == other.underCursor)