mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
bugfix: can't show open-indicator-icon when use shortcut to launch app
tower: https://tower.im/projects/715dbdd34f694ea08f6de7888b7ffd7d/todos/c58e32f2809f49078a691848a569546e/ Change-Id: I968f382f2749b901798ef19637e9e45c572c5e20
This commit is contained in:
parent
e10513fb45
commit
4f886b9d42
Notes:
Deepin Code Review
2016-06-14 07:19:47 +00:00
Verified+1: Anonymous Coward #1000004 Verified+1: <wangyanli@linuxdeepin.com> Code-Review+2: <mr.asianwang@gmail.com> Submitted-by: <mr.asianwang@gmail.com> Submitted-at: Wed, 28 Oct 2015 17:50:42 +0800 Reviewed-on: https://cr.deepin.io/8118 Project: dde/dde-dock Branch: refs/heads/master
@ -121,11 +121,12 @@ bool AppBackground::getIsActived()
|
||||
void AppBackground::setIsActived(bool value)
|
||||
{
|
||||
m_isActived = value;
|
||||
if (!m_isActived)
|
||||
if (!m_isActived) {
|
||||
m_activeLabel->hide();
|
||||
else if (m_isInit && !m_bePress && getIsFashionMode()){
|
||||
m_bePress = false;
|
||||
}
|
||||
else if (!m_bePress && getIsFashionMode()){
|
||||
m_activeLabel->show();
|
||||
m_isInit = false;
|
||||
}
|
||||
|
||||
style()->unpolish(this);
|
||||
|
@ -76,7 +76,6 @@ private:
|
||||
void onDockModeChanged();
|
||||
|
||||
private:
|
||||
bool m_isInit = true;
|
||||
bool m_bePress = false;
|
||||
bool m_isActived = false;
|
||||
bool m_isCurrentOpened = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user