diff --git a/CMakeLists.txt b/CMakeLists.txt index d376210..09b7102 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -153,6 +153,7 @@ include(QtGuiConfig) include(QtConfig) include(WindowsResources) include(AppTarget) +include(ShellCompletion) # create desktop file using previously defined meta data add_desktop_file() diff --git a/cli/mainfeatures.cpp b/cli/mainfeatures.cpp index 5571fec..c2f5baa 100644 --- a/cli/mainfeatures.cpp +++ b/cli/mainfeatures.cpp @@ -21,7 +21,7 @@ using namespace Network; namespace Cli { -void download(int argc, char *argv[], const std::vector &, const Argument &urlsArg, const Argument &noConfirmArg) +void download(int argc, char *argv[], const ArgumentOccurance &, const Argument &urlsArg, const Argument &noConfirmArg) { CMD_UTILS_START_CONSOLE; // init Qt diff --git a/cli/mainfeatures.h b/cli/mainfeatures.h index 6761e3c..84b6bcc 100644 --- a/cli/mainfeatures.h +++ b/cli/mainfeatures.h @@ -5,11 +5,12 @@ namespace ApplicationUtilities { class Argument; +class ArgumentOccurance; } namespace Cli { -void download(int argc, char *argv[], const std::vector ¶meterValues, const ApplicationUtilities::Argument &urlsArg, const ApplicationUtilities::Argument &noConfirmArg); +void download(int argc, char *argv[], const ApplicationUtilities::ArgumentOccurance ¶meterValues, const ApplicationUtilities::Argument &urlsArg, const ApplicationUtilities::Argument &noConfirmArg); }