refactor: Remove unused private shared dir CLI arg

This commit is contained in:
Lars Toenning
2024-02-15 00:03:43 +01:00
parent 7b6f087247
commit de45811d34
2 changed files with 0 additions and 15 deletions

View File

@@ -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);

View File

@@ -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