From fd8ac668799b9ef1462bce3125d288af60d527de Mon Sep 17 00:00:00 2001 From: Patrick Ziegler Date: Sun, 2 Jun 2024 19:39:28 +0200 Subject: [PATCH] Remove unused cli option --- CMakeLists.txt | 2 +- mediacopier-qt/source/config.cpp | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1467e24..f0a88c3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.12) list(PREPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") -project(MediaCopier VERSION 2.1.3) +project(MediaCopier VERSION 2.1.4) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) diff --git a/mediacopier-qt/source/config.cpp b/mediacopier-qt/source/config.cpp index ece0d4e..1daf3f0 100644 --- a/mediacopier-qt/source/config.cpp +++ b/mediacopier-qt/source/config.cpp @@ -51,10 +51,8 @@ Config::Config(const QApplication& app) "DST", "Output directory", "[DST]]]"); QCommandLineOption optSlimGui( "slim-gui", "Pattern to be used for creating new filenames"); - QCommandLineOption optNoGui( - "no-gui", "Pattern to be used for creating new filenames"); - parser.addOptions({optSlimGui, optNoGui}); + parser.addOptions({optSlimGui}); parser.addVersionOption(); parser.addHelpOption(); parser.process(app);