chore: DeskflowGui, Use auto where possible

This commit is contained in:
sithlord48 2025-04-27 12:11:49 -04:00 committed by Nick Bolton
parent 63d65bb47b
commit 2bebdbaf4d

View file

@ -53,10 +53,9 @@ int main(int argc, char *argv[])
QApplication app(argc, argv); QApplication app(argc, argv);
// Add Command Line Options // Add Command Line Options
QCommandLineOption helpOption = QCommandLineOption("help", "Display Help on the command line"); auto helpOption = QCommandLineOption("help", "Display Help on the command line");
QCommandLineOption versionOption = QCommandLineOption("version", "Display version information"); auto versionOption = QCommandLineOption("version", "Display version information");
QCommandLineOption noResetOption = auto noResetOption = QCommandLineOption("no-reset", "Prevent settings reset if DESKFLOW_RESET_ALL is set");
QCommandLineOption("no-reset", "Prevent settings reset if DESKFLOW_RESET_ALL is set");
QCommandLineParser parser; QCommandLineParser parser;
parser.setSingleDashWordOptionMode(QCommandLineParser::ParseAsLongOptions); parser.setSingleDashWordOptionMode(QCommandLineParser::ParseAsLongOptions);