From 4b88aced20ce31d2ebc102267fb60eff3d2057d7 Mon Sep 17 00:00:00 2001 From: John Preston Date: Sun, 6 Dec 2015 20:47:27 +0300 Subject: [PATCH] fixed uninitialized var for 9014003 --- Telegram/SourceFiles/boxes/photosendbox.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/boxes/photosendbox.cpp b/Telegram/SourceFiles/boxes/photosendbox.cpp index 323617806..177520701 100644 --- a/Telegram/SourceFiles/boxes/photosendbox.cpp +++ b/Telegram/SourceFiles/boxes/photosendbox.cpp @@ -125,7 +125,11 @@ PhotoSendBox::PhotoSendBox(const QString &phone, const QString &fname, const QSt , _compressed(this, lang(lng_send_image_compressed), true) , _send(this, lang(lng_send_button), st::defaultBoxButton) , _cancel(this, lang(lng_cancel), st::cancelBoxButton) -, _phone(phone), _fname(fname), _lname(lname), _replyTo(replyTo) { +, _phone(phone) +, _fname(fname) +, _lname(lname) +, _replyTo(replyTo) +, _confirmed(false) { connect(&_send, SIGNAL(clicked()), this, SLOT(onSend())); connect(&_cancel, SIGNAL(clicked()), this, SLOT(onClose()));