mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-06 20:23:08 +00:00
feat(src/app/App): disable command line option
This commit is contained in:
parent
e97d7ec9f9
commit
ac9b6f8735
1 changed files with 11 additions and 2 deletions
|
|
@ -274,6 +274,13 @@ bool App::hasFocus () const {
|
|||
// -----------------------------------------------------------------------------
|
||||
|
||||
void App::createParser () {
|
||||
// TODO: Remove me in the future.
|
||||
static const char *disabledOptions[] = {
|
||||
QT_TR_NOOP("commandLineOptionCmd"),
|
||||
QT_TR_NOOP("commandLineOptionCmdArg")
|
||||
};
|
||||
(void)disabledOptions;
|
||||
|
||||
if (mParser)
|
||||
delete mParser;
|
||||
|
||||
|
|
@ -288,8 +295,10 @@ void App::createParser () {
|
|||
{ "iconified", tr("commandLineOptionIconified") },
|
||||
#endif // ifndef Q_OS_MACOS
|
||||
{ "self-test", tr("commandLineOptionSelfTest") },
|
||||
{ { "V", "verbose" }, tr("commandLineOptionVerbose") },
|
||||
{ { "c", "cmd" }, tr("commandLineOptionCmd"), tr("commandLineOptionCmdArg") }
|
||||
{ { "V", "verbose" }, tr("commandLineOptionVerbose") }
|
||||
// TODO: Enable me in future version!
|
||||
// ,
|
||||
// { { "c", "cmd" }, tr("commandLineOptionCmd"), tr("commandLineOptionCmdArg") }
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue