fixed warnings

This commit is contained in:
John Preston 2015-12-15 18:06:51 +03:00
parent f6fec9a619
commit 2aa44a2135
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ public:
typedef QHash<PeerId, History*> 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);

View File

@ -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();