Closed beta 10020006: fixed crash on start when the passcode is used.

This commit is contained in:
John Preston 2016-12-27 16:23:42 +04:00
parent 38e6a0ae7e
commit 204d91d567
5 changed files with 11 additions and 11 deletions

View File

@ -34,8 +34,8 @@ IDI_ICON1 ICON "..\\art\\icon256.ico"
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 0,10,20,5
PRODUCTVERSION 0,10,20,5
FILEVERSION 0,10,20,6
PRODUCTVERSION 0,10,20,6
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@ -51,10 +51,10 @@ BEGIN
BLOCK "040904b0"
BEGIN
VALUE "CompanyName", "Telegram Messenger LLP"
VALUE "FileVersion", "0.10.20.5"
VALUE "FileVersion", "0.10.20.6"
VALUE "LegalCopyright", "Copyright (C) 2014-2016"
VALUE "ProductName", "Telegram Desktop"
VALUE "ProductVersion", "0.10.20.5"
VALUE "ProductVersion", "0.10.20.6"
END
END
BLOCK "VarFileInfo"

View File

@ -25,8 +25,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 0,10,20,5
PRODUCTVERSION 0,10,20,5
FILEVERSION 0,10,20,6
PRODUCTVERSION 0,10,20,6
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@ -43,10 +43,10 @@ BEGIN
BEGIN
VALUE "CompanyName", "Telegram Messenger LLP"
VALUE "FileDescription", "Telegram Updater"
VALUE "FileVersion", "0.10.20.5"
VALUE "FileVersion", "0.10.20.6"
VALUE "LegalCopyright", "Copyright (C) 2014-2016"
VALUE "ProductName", "Telegram Desktop"
VALUE "ProductVersion", "0.10.20.5"
VALUE "ProductVersion", "0.10.20.6"
END
END
BLOCK "VarFileInfo"

View File

@ -22,7 +22,7 @@ Copyright (c) 2014-2016 John Preston, https://desktop.telegram.org
#include "core/utils.h"
#define BETA_VERSION_MACRO (10020005ULL)
#define BETA_VERSION_MACRO (10020006ULL)
constexpr int AppVersion = 10020;
constexpr str_const AppVersionStr = "0.10.20";

View File

@ -262,7 +262,7 @@ void MainWindow::setupPasscode() {
updateControlsGeometry();
if (_main) _main->hide();
_mediaView->hide();
if (_mediaView) _mediaView->hide();
Ui::hideSettingsAndLayer(true);
if (_intro) _intro->hide();
if (animated) {

View File

@ -3,4 +3,4 @@ AppVersionStrMajor 0.10
AppVersionStrSmall 0.10.20
AppVersionStr 0.10.20
AlphaChannel 0
BetaVersion 10020005
BetaVersion 10020006