We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02ecab1 commit f2f9f64Copy full SHA for f2f9f64
2 files changed
omodsim/cmdlineparser.cpp
@@ -4,6 +4,7 @@
4
/// \brief CmdLineParser::CmdLineParser
5
///
6
CmdLineParser::CmdLineParser()
7
+ : QCommandLineParser()
8
{
9
QCommandLineOption helpOption(QStringList() << _help, tr("Displays this help."));
10
addOption(helpOption);
omodsim/cmdlineparser.h
@@ -3,8 +3,10 @@
3
#include <QCommandLineParser>
-class CmdLineParser : public QCommandLineParser
+class CmdLineParser : public QObject, public QCommandLineParser
+ Q_OBJECT
+
public:
11
explicit CmdLineParser();
12
0 commit comments