Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: proxy can't disable for dock tray #238

Merged
merged 1 commit into from
Jan 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
namespace dde {
namespace network {

const static QString networkService = "com.deepin.daemon.Network";
const static QString networkPath = "/com/deepin/daemon/Network";
const static QString networkService = "org.deepin.dde.Network1";
const static QString networkPath = "/org/deepin/dde/Network1";

#define CHANGE_CONNECTIONS "ConnectionsChanged"
#define CHANGE_ACTIVECONNECTIONS "ActiveConnectionsChanged"
Expand Down
2 changes: 0 additions & 2 deletions plugins/dde-network-core/src/networkcontroller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@
#include "wirelessdevice.h"
#include "connectivityhandler.h"

#include <DLog>

Check warning on line 21 in plugins/dde-network-core/src/networkcontroller.cpp

View workflow job for this annotation

GitHub Actions / cppcheck

Include file: <DLog> not found. Please note: Cppcheck does not need standard library headers to get proper results.

const static QString networkService = "com.deepin.daemon.Network";
const static QString networkPath = "/com/deepin/daemon/Network";
static QString localeName;

using namespace dde::network;
Expand Down
2 changes: 1 addition & 1 deletion plugins/dde-network-core/src/networkinter.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class NetworkInter : public Dtk::Core::DDBusInterface
{
Q_OBJECT
public:
static inline const char *staticInterfaceName() { return "com.deepin.daemon.Network"; }
static inline const char *staticInterfaceName() { return "org.deepin.dde.Network1"; }

public:
explicit NetworkInter(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = 0);
Expand Down
Loading