mirror of
https://github.com/deskflow/deskflow.git
synced 2026-06-28 21:02:21 +08:00
chore: DeskflowGui, Use auto where possible
This commit is contained in:
parent
63d65bb47b
commit
2bebdbaf4d
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user