From 2bebdbaf4d76cdddc00e068f1fb471cd6292334e Mon Sep 17 00:00:00 2001 From: sithlord48 Date: Sun, 27 Apr 2025 12:11:49 -0400 Subject: [PATCH] chore: DeskflowGui, Use auto where possible --- src/apps/deskflow-gui/deskflow-gui.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/apps/deskflow-gui/deskflow-gui.cpp b/src/apps/deskflow-gui/deskflow-gui.cpp index 075df4973..73edeb161 100644 --- a/src/apps/deskflow-gui/deskflow-gui.cpp +++ b/src/apps/deskflow-gui/deskflow-gui.cpp @@ -53,10 +53,9 @@ int main(int argc, char *argv[]) QApplication app(argc, argv); // Add Command Line Options - QCommandLineOption helpOption = QCommandLineOption("help", "Display Help on the command line"); - QCommandLineOption versionOption = QCommandLineOption("version", "Display version information"); - QCommandLineOption noResetOption = - QCommandLineOption("no-reset", "Prevent settings reset if DESKFLOW_RESET_ALL is set"); + auto helpOption = QCommandLineOption("help", "Display Help on the command line"); + auto versionOption = QCommandLineOption("version", "Display version information"); + auto noResetOption = QCommandLineOption("no-reset", "Prevent settings reset if DESKFLOW_RESET_ALL is set"); QCommandLineParser parser; parser.setSingleDashWordOptionMode(QCommandLineParser::ParseAsLongOptions);