Merge branch 'dbus-interface-fork' into 'dbus-interface'
解决BUG 103843,【网络】切换主题,添加网络或者网络详情左上角的网络图标没有变化 See merge request kylin-desktop/kylin-nm!712
This commit is contained in:
commit
683b5d34c7
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue