bug#89001
This commit is contained in:
parent
5d43e78c62
commit
70e141f217
|
@ -515,7 +515,7 @@ void WlanListItem::onMenuTriggered(QAction *action)
|
|||
|
||||
void WlanListItem::forgetPwd()
|
||||
{
|
||||
if (!m_wirelessNetItem.m_isConfigured) {
|
||||
if (!this->isConfigured()) {
|
||||
m_pwdLineEdit->setText("");
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
#define ICON_REFRESH_INTERVAL (5*1000)
|
||||
#define EMPTY_SSID "emptyssid"
|
||||
#define LOG_FLAG "[WlanPage]"
|
||||
#define LAN_PAGE_INDEX 0
|
||||
|
||||
WlanPage::WlanPage(QWidget *parent) : TabPage(parent)
|
||||
{
|
||||
|
@ -1264,7 +1265,7 @@ void WlanPage::onMainWindowVisibleChanged(const bool &visible)
|
|||
|
||||
void WlanPage::onWlanPageVisibleChanged(int index)
|
||||
{
|
||||
if (index == 0) {
|
||||
if (index == LAN_PAGE_INDEX) {
|
||||
qDebug() << "wlanpage not visible";
|
||||
showNonePwd();
|
||||
}
|
||||
|
|
Binary file not shown.
|
@ -550,7 +550,7 @@
|
|||
<message>
|
||||
<location filename="../src/frontend/list-items/listitem.cpp" line="63"/>
|
||||
<source>Kylin NM</source>
|
||||
<translation>麒麟网络工具</translation>
|
||||
<translation>麒麟网络设置工具</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/frontend/list-items/listitem.cpp" line="66"/>
|
||||
|
@ -595,7 +595,7 @@
|
|||
<message>
|
||||
<location filename="../src/frontend/netdetails/netdetail.cpp" line="30"/>
|
||||
<source>Kylin NM</source>
|
||||
<translation>麒麟网络工具</translation>
|
||||
<translation>麒麟网络设置工具</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/frontend/netdetails/netdetail.cpp" line="33"/>
|
||||
|
@ -891,7 +891,7 @@
|
|||
<message>
|
||||
<location filename="../src/frontend/tab-pages/tabpage.cpp" line="127"/>
|
||||
<source>Kylin NM</source>
|
||||
<translation>麒麟网络工具</translation>
|
||||
<translation>麒麟网络设置工具</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/frontend/tab-pages/tabpage.cpp" line="130"/>
|
||||
|
|
Loading…
Reference in New Issue