Merge branch 'dbus-interface-fork' into 'dbus-interface'

解决BUG 103843,【网络】切换主题,添加网络或者网络详情左上角的网络图标没有变化

See merge request kylin-desktop/kylin-nm!712
This commit is contained in:
陈学超 2022-09-22 01:34:49 +00:00
commit 683b5d34c7
2 changed files with 1 additions and 2 deletions

View File

@ -371,8 +371,6 @@ void NetDetail::initUI()
forgetBtn = new QPushButton(this);
forgetBtn->setText(tr("Forget this network"));
this->setWindowIcon(QIcon::fromTheme("kylin-network"));
QVBoxLayout *centerlayout = new QVBoxLayout(centerWidget);
centerlayout->setContentsMargins(CENTER_LAYOUT_MARGINS);
centerlayout->addWidget(pageFrame);

View File

@ -151,6 +151,7 @@ int main(int argc, char *argv[])
MainWindow w;
a.setActivationWindow(&w);
w.setProperty("useStyleWindowManager", false); //禁用拖动
a.setWindowIcon(QIcon::fromTheme("kylin-network"));
//设置窗口无边框,阴影
// MotifWmHints window_hints;