mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
refactor: Remove unused private shared dir CLI arg
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user