fix bug:123342
This commit is contained in:
parent
600060210d
commit
1b363f5c4d
|
@ -148,7 +148,7 @@ bool MobileHotspotWidget::eventFilter(QObject *watched, QEvent *event)
|
|||
return true;
|
||||
}
|
||||
if (m_switchBtn->isChecked()) {
|
||||
showDesktopNotify(tr("start to close hotspot"));
|
||||
// showDesktopNotify(tr("start to close hotspot"));
|
||||
QDBusReply<void> reply = m_interface->call("deactiveWirelessAp", m_apNameLine->text(), m_uuid);
|
||||
if (!reply.isValid()) {
|
||||
qDebug() << "[MobileHotspotWidget] call deactiveWirelessAp failed ";
|
||||
|
@ -171,7 +171,7 @@ bool MobileHotspotWidget::eventFilter(QObject *watched, QEvent *event)
|
|||
// showDesktopNotify(tr("can not create hotspot with password length less than eight!"));
|
||||
return true;
|
||||
}
|
||||
showDesktopNotify(tr("start to open hotspot ") + m_apNameLine->text());
|
||||
// showDesktopNotify(tr("start to open hotspot ") + m_apNameLine->text());
|
||||
QDBusReply<void> reply = m_interface->call("activeWirelessAp",
|
||||
m_apNameLine->text(),
|
||||
m_pwdNameLine->text(),
|
||||
|
|
Loading…
Reference in New Issue