mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 06:07:06 +02:00
Removed redundant semicolons from code.
This commit is contained in:
parent
1cb5ef7476
commit
c2712b0104
10 changed files with 10 additions and 10 deletions
|
@ -848,7 +848,7 @@ void ShareBox::Inner::loadProfilePhotos(int yFrom) {
|
|||
if (!_chatsIndexed->empty()) {
|
||||
const auto index = yFrom / _rowHeight;
|
||||
auto i = _chatsIndexed->begin()
|
||||
+ std::min(index, _chatsIndexed->size());;
|
||||
+ std::min(index, _chatsIndexed->size());
|
||||
for (auto end = _chatsIndexed->cend(); i != end; ++i) {
|
||||
if (((*i)->index() * _rowHeight) >= yTo) {
|
||||
break;
|
||||
|
|
|
@ -368,7 +368,7 @@ QString UserData::username() const {
|
|||
}
|
||||
|
||||
QString UserData::editableUsername() const {
|
||||
return _username.editableUsername();;
|
||||
return _username.editableUsername();
|
||||
}
|
||||
|
||||
const std::vector<QString> &UserData::usernames() const {
|
||||
|
|
|
@ -2695,7 +2695,7 @@ void Widget::filterCursorMoved() {
|
|||
}
|
||||
|
||||
void Widget::completeHashtag(QString tag) {
|
||||
const auto t = _filter->getLastText();;
|
||||
const auto t = _filter->getLastText();
|
||||
auto cur = _filter->textCursor().position();
|
||||
auto hashtag = QString();
|
||||
for (int start = cur; start > 0;) {
|
||||
|
|
|
@ -281,7 +281,7 @@ private:
|
|||
base::unique_qptr<Ui::IconButton> _cancel;
|
||||
base::unique_qptr<Ui::MultiSelect> _select;
|
||||
|
||||
rpl::variable<PeerData*> _from = nullptr;;
|
||||
rpl::variable<PeerData*> _from = nullptr;
|
||||
|
||||
base::Timer _searchTimer;
|
||||
|
||||
|
|
|
@ -3665,7 +3665,7 @@ void ListWidget::performDrag() {
|
|||
_reactionsManager->updateButton({});
|
||||
_controller->widget()->launchDrag(
|
||||
std::move(mimeData),
|
||||
crl::guard(this, [=] { mouseActionUpdate(QCursor::pos()); }));;
|
||||
crl::guard(this, [=] { mouseActionUpdate(QCursor::pos()); }));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ private:
|
|||
friend class Inner;
|
||||
|
||||
bool _available = false;
|
||||
rpl::variable<bool> _started = false;;
|
||||
rpl::variable<bool> _started = false;
|
||||
rpl::event_stream<Update, rpl::empty_error> _updates;
|
||||
QThread _thread;
|
||||
std::unique_ptr<Inner> _inner;
|
||||
|
|
|
@ -78,7 +78,7 @@ private:
|
|||
return width() - contentLeft() - contentRight();
|
||||
}
|
||||
int contentHeight() const {
|
||||
return height() - contentTop() - contentBottom();;
|
||||
return height() - contentTop() - contentBottom();
|
||||
}
|
||||
|
||||
void startAnimation();
|
||||
|
|
|
@ -560,7 +560,7 @@ OverlayWidget::OverlayWidget()
|
|||
|| type == QEvent::TouchEnd
|
||||
|| type == QEvent::TouchCancel) {
|
||||
if (handleTouchEvent(static_cast<QTouchEvent*>(e.get()))) {
|
||||
return base::EventFilterResult::Cancel;;
|
||||
return base::EventFilterResult::Cancel;
|
||||
}
|
||||
} else if (type == QEvent::Wheel) {
|
||||
handleWheelEvent(static_cast<QWheelEvent*>(e.get()));
|
||||
|
|
|
@ -132,7 +132,7 @@ private:
|
|||
[[nodiscard]] bool isFinished() const;
|
||||
|
||||
private:
|
||||
crl::time _startedAt = 0;;
|
||||
crl::time _startedAt = 0;
|
||||
std::vector<anim::value> _animValues;
|
||||
PiePartData _current;
|
||||
bool _isFinished = true;
|
||||
|
|
|
@ -819,7 +819,7 @@ EditorBlock::Row &EditorBlock::rowAtIndex(int index) {
|
|||
}
|
||||
|
||||
int EditorBlock::findRowIndex(const QString &name) const {
|
||||
return _indices.value(name, -1);;
|
||||
return _indices.value(name, -1);
|
||||
}
|
||||
|
||||
EditorBlock::Row *EditorBlock::findRow(const QString &name) {
|
||||
|
|
Loading…
Add table
Reference in a new issue