mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-27 06:01:14 +01:00
Lint
This commit is contained in:
+4
-3
@@ -1,6 +1,6 @@
|
||||
#include <QtCore/QCoreApplication>
|
||||
#include <QtCore/QCommandLineParser>
|
||||
#include <QtCore/QCommandLineOption>
|
||||
#include <QtCore/QCommandLineParser>
|
||||
#include <QtCore/QCoreApplication>
|
||||
|
||||
#include "spdlog/async.h"
|
||||
#include "spdlog/sinks/rotating_file_sink.h"
|
||||
@@ -32,7 +32,8 @@ int main(int argc, char *argv[])
|
||||
parser.setApplicationDescription("QtWebSockets example: echoserver");
|
||||
parser.addHelpOption();
|
||||
|
||||
QCommandLineOption portOption(QStringList() << "p" << "port",
|
||||
QCommandLineOption portOption(QStringList() << "p"
|
||||
<< "port",
|
||||
QCoreApplication::translate("main", "Port for echoserver [default: 9002]."),
|
||||
QCoreApplication::translate("main", "port"), QLatin1String("9002"));
|
||||
parser.addOption(portOption);
|
||||
|
||||
Reference in New Issue
Block a user