mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-02 15:45:21 +00:00
fix: popup panel cannot be opened when clicking the labels
Issues: linuxdeepin/developer-center#7222
This commit is contained in:
parent
72f4286f49
commit
0f940b6579
@ -95,8 +95,12 @@ bool BluetoothMainWidget::eventFilter(QObject *watcher, QEvent *event)
|
|||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return QWidget::eventFilter(watcher, event);
|
||||||
}
|
}
|
||||||
if (watcher == m_expandLabel && event->type() == QEvent::MouseButtonRelease) {
|
// else watcher != m_iconWidget
|
||||||
|
|
||||||
|
if (event->type() == QEvent::MouseButtonRelease) {
|
||||||
Q_EMIT requestExpand();
|
Q_EMIT requestExpand();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user