Commit 7d726692 authored by nicolas's avatar nicolas

fix(App): remove useless `App::executeCommand` function

parent 4a927cfd
......@@ -251,12 +251,6 @@ QString App::getCommandArgument () {
// -----------------------------------------------------------------------------
void App::executeCommand (const QString &command) {
Cli::executeCommand(command);
}
// -----------------------------------------------------------------------------
#ifdef Q_OS_MACOS
bool App::event (QEvent *event) {
......@@ -267,7 +261,7 @@ void App::executeCommand (const QString &command) {
::exit(EXIT_SUCCESS);
}
executeCommand(url);
Cli::executeCommand(url);
}
return SingleApplication::event(event);
......
......@@ -54,7 +54,6 @@ public:
void initContentApp ();
QString getCommandArgument ();
void executeCommand (const QString &command);
#ifdef Q_OS_MACOS
bool event (QEvent *event) override;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment