2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45: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

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