mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
fixed(network):open control center network config
This commit is contained in:
parent
68e67ae612
commit
3a19c20842
@ -411,19 +411,13 @@ void WirelessList::onActivateApFailed(const QString &apPath, const QString &uuid
|
||||
<< "secret:" << clickedAP.secured() << "strength" << clickedAP.strength();
|
||||
m_updateAPTimer->start();
|
||||
|
||||
m_editConnectionData = {};
|
||||
m_editConnectionData.insert("conn-type", "wireless");
|
||||
m_editConnectionData.insert("device-path", QJsonValue(m_device->path()));
|
||||
m_editConnectionData.insert("conn-uuid", QJsonValue(uuid));
|
||||
m_editConnectionData.insert("ap-path", QJsonValue(apPath));
|
||||
|
||||
DDBusSender()
|
||||
.service("com.deepin.dde.ControlCenter")
|
||||
.interface("com.deepin.dde.ControlCenter")
|
||||
.path("/com/deepin/dde/ControlCenter")
|
||||
.method("ShowPage")
|
||||
.arg(QString("network"))
|
||||
.arg(QString(QJsonDocument(m_editConnectionData).toJson()))
|
||||
.arg(apPath)
|
||||
.call();
|
||||
|
||||
Q_EMIT requestSetAppletVisible(false);
|
||||
|
@ -88,8 +88,6 @@ private:
|
||||
QTimer *m_updateAPTimer;
|
||||
Dtk::Widget::DPictureSequenceView *m_indicator;
|
||||
|
||||
QJsonObject m_editConnectionData;
|
||||
|
||||
QVBoxLayout *m_centralLayout;
|
||||
QWidget *m_centralWidget;
|
||||
DeviceControlWidget *m_controlPanel;
|
||||
|
Loading…
x
Reference in New Issue
Block a user