diff --git a/src/blackcore/application.cpp b/src/blackcore/application.cpp index b927d5647..4f4f0fe4d 100644 --- a/src/blackcore/application.cpp +++ b/src/blackcore/application.cpp @@ -930,12 +930,6 @@ namespace BlackCore QCoreApplication::translate("application", "Dev. system features?")); this->addParserOption(m_cmdDevelopment); - // can read a local bootstrap file - m_cmdSharedDir = QCommandLineOption({ "shared", "shareddir" }, - QCoreApplication::translate("application", "Local shared directory."), - "shared"); - this->addParserOption(m_cmdSharedDir); - // Skip single application check m_cmdSkipSingleApp = QCommandLineOption({ "skipsa", "skipsingleapp" }, QCoreApplication::translate("application", "Skip the single app.test.")); @@ -1257,11 +1251,6 @@ namespace BlackCore return dBusAddress; } - QString CApplication::getCmdSwiftPrivateSharedDir() const - { - return m_parser.value(m_cmdSharedDir); - } - bool CApplication::isParserOptionSet(const QString &option) const { return m_parser.isSet(option); diff --git a/src/blackcore/application.h b/src/blackcore/application.h index 17115ab8a..95d010fdc 100644 --- a/src/blackcore/application.h +++ b/src/blackcore/application.h @@ -266,9 +266,6 @@ namespace BlackCore //! Add the audio options void addAudioOptions(); - //! Private resource dir for developer's own resource files - QString getCmdSwiftPrivateSharedDir() const; - //! Called by installer? bool isInstallerOptionSet() const; @@ -618,7 +615,6 @@ namespace BlackCore QCommandLineOption m_cmdVersion { "version" }; //!< version option QCommandLineOption m_cmdDBusAddress { "emptyDBus" }; //!< DBus address QCommandLineOption m_cmdDevelopment { "dev" }; //!< Development flag - QCommandLineOption m_cmdSharedDir { "shared" }; //!< Shared directory QCommandLineOption m_cmdClearCache { "clearcache" }; //!< Clear cache QCommandLineOption m_cmdTestCrashpad { "testcrashpad" }; //!< Test a crasphpad upload QCommandLineOption m_cmdSkipSingleApp { "skipsa" }; //!< Skip test for single application