2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

fixed context menus, version 0.6.1

This commit is contained in:
John Preston
2014-09-30 12:24:56 -07:00
parent c216a888be
commit 276e122b62
10 changed files with 20 additions and 21 deletions

View File

@@ -17,8 +17,8 @@ Copyright (c) 2014 John Preston, https://tdesktop.com
*/
#pragma once
static const int32 AppVersion = 6000;
static const wchar_t *AppVersionStr = L"0.6";
static const int32 AppVersion = 6001;
static const wchar_t *AppVersionStr = L"0.6.1";
static const wchar_t *AppNameOld = L"Telegram Win (Unofficial)";
static const wchar_t *AppName = L"Telegram Desktop";
static const wchar_t *AppId = L"{53F49750-6209-4FBF-9CA8-7A333C87D1ED}";

View File

@@ -23,7 +23,7 @@
#include "lang.h"
ContextMenu::ContextMenu(QWidget *parent, const style::iconedButton &st) : TWidget(parent),
ContextMenu::ContextMenu(QWidget *parent, const style::iconedButton &st) : TWidget(0),
_hiding(false), _buttonStyle(st), _shadow(st::dropdownShadow), _selected(-1), a_opacity(0), _deleteOnHide(false) {
resetActions();
@@ -207,7 +207,6 @@ void ContextMenu::showStart() {
a_opacity.start(1);
anim::start(this);
animStep(0);
setParent(0);
psUpdateOverlayed(this);
show();
windowHandle()->requestActivate();