diff --git a/Telegram/SourceFiles/history.h b/Telegram/SourceFiles/history.h index 85e029dc3..f183c12e8 100644 --- a/Telegram/SourceFiles/history.h +++ b/Telegram/SourceFiles/history.h @@ -50,7 +50,7 @@ public: typedef QHash Map; Map map; - Histories() : unreadFull(0), unreadMuted(0), _a_typings(animation(this, &Histories::step_typings)) { + Histories() : _a_typings(animation(this, &Histories::step_typings)), unreadFull(0), unreadMuted(0) { } void regSendAction(History *history, UserData *user, const MTPSendMessageAction &action); diff --git a/Telegram/SourceFiles/window.cpp b/Telegram/SourceFiles/window.cpp index 3f067221e..bdbbb9791 100644 --- a/Telegram/SourceFiles/window.cpp +++ b/Telegram/SourceFiles/window.cpp @@ -83,8 +83,8 @@ NotifyWindow::NotifyWindow(HistoryItem *msg, int32 x, int32 y, int32 fwdCount) : , hiding(false) , _index(0) , a_opacity(0) -, a_y(y + st::notifyHeight + st::notifyDeltaY) , a_func(anim::linear) +, a_y(y + st::notifyHeight + st::notifyDeltaY) , _a_appearance(animation(this, &NotifyWindow::step_appearance)) { updateNotifyDisplay();