mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
fix:fixed printing alarm information
This commit is contained in:
parent
d4869b02fe
commit
9f9c0f4a84
@ -171,7 +171,7 @@ void WirelessItem::setDeviceInfo(const int index)
|
||||
bool WirelessItem::eventFilter(QObject *o, QEvent *e)
|
||||
{
|
||||
if (o == m_APList && e->type() == QEvent::Resize)
|
||||
QMetaObject::invokeMethod(this, "adjustHeight", Qt::QueuedConnection);
|
||||
QMetaObject::invokeMethod(this, "adjustHeight", Qt::QueuedConnection,Q_ARG(bool, m_APList->controlPanel()->isVisible()));
|
||||
if (o == m_APList && e->type() == QEvent::Show)
|
||||
Q_EMIT requestWirelessScan();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user