mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
fix(network): wired item visiable when network plugin disabled
Change-Id: Ib01ef5035d97edae9f5984c52bd833d15c58915b
This commit is contained in:
parent
f73428a465
commit
fc42fd949c
@ -253,6 +253,10 @@ void NetworkPlugin::onDeviceListChanged(const QList<NetworkDevice *> devices)
|
||||
|
||||
void NetworkPlugin::refreshWiredItemVisible()
|
||||
{
|
||||
if (pluginIsDisable()) {
|
||||
return;
|
||||
}
|
||||
|
||||
bool hasWireless = false;
|
||||
QList<WiredItem *> wiredItems;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user