diff --git a/src/blackcore/application.cpp b/src/blackcore/application.cpp index a03bc26fd..a8a69f1a2 100644 --- a/src/blackcore/application.cpp +++ b/src/blackcore/application.cpp @@ -1007,7 +1007,7 @@ namespace BlackCore this->addParserOption(m_cmdDBusAddress); } - void CApplication::addVatlibOptions() + void CApplication::addNetworkOptions() { this->addParserOptions(IContextNetwork::getCmdLineOptions()); } diff --git a/src/blackcore/application.h b/src/blackcore/application.h index 70164cb20..48540b2ce 100644 --- a/src/blackcore/application.h +++ b/src/blackcore/application.h @@ -252,8 +252,8 @@ namespace BlackCore //! DBus address from CMD line, otherwise "" QString getCmdDBusAddressValue() const; - //! Add the VATLIB options - void addVatlibOptions(); + //! Add the network options + void addNetworkOptions(); //! Add the audio options void addAudioOptions(); diff --git a/src/swiftcore/main.cpp b/src/swiftcore/main.cpp index 285e91217..eead3615e 100644 --- a/src/swiftcore/main.cpp +++ b/src/swiftcore/main.cpp @@ -28,7 +28,7 @@ int main(int argc, char *argv[]) CGuiApplication a(CApplicationInfo::swiftCore(), CApplicationInfo::PilotClientCore, CIcons::swiftCore24()); a.addWindowStateOption(); a.addDBusAddressOption(); - a.addVatlibOptions(); + a.addNetworkOptions(); a.addAudioOptions(); if (!a.parseCommandLineArgsAndLoadSetup()) { return EXIT_FAILURE; } diff --git a/src/swiftguistandard/swiftguistdapplication.cpp b/src/swiftguistandard/swiftguistdapplication.cpp index 61c4d58ac..806e7972b 100644 --- a/src/swiftguistandard/swiftguistdapplication.cpp +++ b/src/swiftguistandard/swiftguistdapplication.cpp @@ -17,7 +17,7 @@ CSwiftGuiStdApplication::CSwiftGuiStdApplication() : CGuiApplication(CApplicatio { this->addParserOption(m_cmdFacadeMode); this->addDBusAddressOption(); - this->addVatlibOptions(); + this->addNetworkOptions(); this->addAudioOptions(); } diff --git a/src/swiftlauncher/main.cpp b/src/swiftlauncher/main.cpp index c0892b544..19b67a646 100644 --- a/src/swiftlauncher/main.cpp +++ b/src/swiftlauncher/main.cpp @@ -39,7 +39,7 @@ int main(int argc, char *argv[]) QApplication qa(argc, argv); // needed Q_UNUSED(qa) CGuiApplication a(CApplicationInfo::swiftLauncher(), CApplicationInfo::Laucher, CIcons::swiftLauncher1024()); - a.addVatlibOptions(); // so it can be passed (hand over) to started applications + a.addNetworkOptions(); // so it can be passed (hand over) to started applications a.addDBusAddressOption(); // required by the dbus server address selector const QCommandLineOption installerOption { { "i", "installer" }, QCoreApplication::translate("main", "Installer setup.") }; a.addParserOption(installerOption); diff --git a/tests/blackcore/context/testcontext/testcontext.cpp b/tests/blackcore/context/testcontext/testcontext.cpp index e5495c3e6..7af2bc62f 100644 --- a/tests/blackcore/context/testcontext/testcontext.cpp +++ b/tests/blackcore/context/testcontext/testcontext.cpp @@ -99,7 +99,7 @@ int main(int argc, char *argv[]) BLACKTEST_INIT(BlackCoreTest::CTestContext) CApplication a(CApplicationInfo::UnitTest); - a.addVatlibOptions(); + a.addNetworkOptions(); const bool setup = a.parseCommandLineArgsAndLoadSetup(); if (!setup) { qWarning() << "No setup loaded"; } int r = EXIT_FAILURE; diff --git a/tests/blackcore/testconnectivity/testconnectivity.cpp b/tests/blackcore/testconnectivity/testconnectivity.cpp index 22e52d5c2..59e096bcc 100644 --- a/tests/blackcore/testconnectivity/testconnectivity.cpp +++ b/tests/blackcore/testconnectivity/testconnectivity.cpp @@ -96,7 +96,7 @@ int main(int argc, char *argv[]) QCoreApplication app(argc, argv); BLACKTEST_INIT(BlackCoreTest::CTestConnectivity) CApplication a(CApplicationInfo::UnitTest); - a.addVatlibOptions(); + a.addNetworkOptions(); const bool setup = a.parseCommandLineArgsAndLoadSetup(); if (!setup) { qWarning() << "No setup loaded"; } int r = EXIT_FAILURE;