diff --git a/src/dconfig.cpp b/src/dconfig.cpp index 5a1b4d22..5583d47c 100644 --- a/src/dconfig.cpp +++ b/src/dconfig.cpp @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2021 - 2022 UnionTech Software Technology Co., Ltd. +// SPDX-FileCopyrightText: 2021 - 2026 UnionTech Software Technology Co., Ltd. // // SPDX-License-Identifier: LGPL-3.0-or-later @@ -557,10 +557,6 @@ DConfigBackend *DConfigPrivate::getOrCreateBackend() qCDebug(cfLog, "Fallback to DBus mode"); backend.reset(new DBusBackend(this)); } - if (!backend) { - qCDebug(cfLog, "Can't use DBus config service, fallback to DConfigFile mode"); - backend.reset(new FileBackend(this)); - } #else backend.reset(new FileBackend(this)); #endif //D_DISABLE_DBUS_CONFIG