Skip to content

Commit

Permalink
fix: add backgroundcolor to the line proxy type
Browse files Browse the repository at this point in the history
Problem: the line 'proxy type' of the page 'system proxy' doesn't have grey backgroundcolor like other lines.
Solution: I used addBackground() to make this line the same like others
Issue: linuxdeepin#141
Log: add grey backgroundcolor to the line proxy type of page system proxy.
  • Loading branch information
chenjiahe01 committed Apr 14, 2023
1 parent c91c984 commit 6c59a8b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dcc-network-plugin/window/sysproxymodule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ SysProxyModule::SysProxyModule(QObject *parent)
m_modules.append(new WidgetModule<ComboxWidget>("system_proxy_box", tr("System Proxy"), [this](ComboxWidget *proxyTypeBox) {
m_proxyTypeBox = proxyTypeBox;
proxyTypeBox->setTitle(tr("Proxy Type"));
proxyTypeBox->addBackground();
proxyTypeBox->comboBox()->addItems(m_ProxyMethodList);
auto updateBox = [proxyTypeBox]() {
ProxyMethod method = NetworkController::instance()->proxyController()->proxyMethod();
Expand Down

0 comments on commit 6c59a8b

Please sign in to comment.