From 3c2a6b4f17c12481983265b5fb3c8bccb0b5e11d Mon Sep 17 00:00:00 2001 From: reionwong Date: Wed, 15 Sep 2021 15:45:56 +0800 Subject: [PATCH] Update interface name --- CMakeLists.txt | 2 +- src/{org.Cutefish.Dock.xml => com.cutefish.Dock.xml} | 2 +- src/main.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename src/{org.Cutefish.Dock.xml => com.cutefish.Dock.xml} (96%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0a8fcd4..2512a95 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -37,7 +37,7 @@ set(RESOURCES ) qt5_add_dbus_adaptor(DBUS_SOURCES - src/org.Cutefish.Dock.xml + src/com.cutefish.Dock.xml src/mainwindow.h MainWindow) set_source_files_properties(${DBUS_SOURCES} PROPERTIES SKIP_AUTOGEN ON) diff --git a/src/org.Cutefish.Dock.xml b/src/com.cutefish.Dock.xml similarity index 96% rename from src/org.Cutefish.Dock.xml rename to src/com.cutefish.Dock.xml index 9f8a99b..52bbdd9 100644 --- a/src/org.Cutefish.Dock.xml +++ b/src/com.cutefish.Dock.xml @@ -1,6 +1,6 @@ - + diff --git a/src/main.cpp b/src/main.cpp index c757485..8a62685 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -33,7 +33,7 @@ int main(int argc, char *argv[]) QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps, true); QApplication app(argc, argv); - if (!QDBusConnection::sessionBus().registerService("org.cutefish.Dock")) { + if (!QDBusConnection::sessionBus().registerService("com.cutefish.Dock")) { return -1; }