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:
@@ -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}";
|
||||
|
@@ -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();
|
||||
|
Reference in New Issue
Block a user