Merge branch 'dbus-interface' of http://gitlab2.kylin.com/kylin-desktop/kylin-nm into 1206
This commit is contained in:
commit
eea3d45d07
|
@ -40,7 +40,7 @@ LanListItem::LanListItem(QWidget *parent) : ListItem(parent)
|
|||
{
|
||||
m_isActive = false;
|
||||
m_netButton->setButtonIcon(QIcon::fromTheme("network-offline-symbolic"));
|
||||
m_netButton->setDefaultPixmap();
|
||||
setIcon(false);
|
||||
const QString str=tr("Not connected");
|
||||
m_nameLabel->setText(str);
|
||||
this->m_infoButton->hide();
|
||||
|
|
|
@ -738,6 +738,7 @@ void LanPage::initUI()
|
|||
m_inactivatedLanListWidget->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
|
||||
m_inactivatedLanListWidget->setVerticalScrollMode(QAbstractItemView::ScrollMode::ScrollPerPixel);
|
||||
m_inactivatedLanListWidget->verticalScrollBar()->setSingleStep(SCROLL_STEP);
|
||||
m_inactivatedLanListWidget->verticalScrollBar()->setContextMenuPolicy(Qt::NoContextMenu);
|
||||
m_inactivatedAreaLayout->addWidget(m_inactivatedLanListWidget);
|
||||
|
||||
m_settingsLabel->installEventFilter(this);
|
||||
|
|
|
@ -88,6 +88,7 @@ void WlanPage::initWlanUI()
|
|||
m_inactivatedNetListWidget->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
|
||||
m_inactivatedNetListWidget->setVerticalScrollMode(QAbstractItemView::ScrollMode::ScrollPerPixel);
|
||||
m_inactivatedNetListWidget->verticalScrollBar()->setSingleStep(SCROLL_STEP);
|
||||
m_inactivatedNetListWidget->verticalScrollBar()->setContextMenuPolicy(Qt::NoContextMenu);
|
||||
|
||||
addWlanMoreItem();
|
||||
m_inactivatedAreaLayout->addWidget(m_inactivatedNetListWidget);
|
||||
|
|
Loading…
Reference in New Issue