Skip to content

Commit f2f9f64

Browse files
committed
Fixing Qt5 Warning
1 parent 02ecab1 commit f2f9f64

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

omodsim/cmdlineparser.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
/// \brief CmdLineParser::CmdLineParser
55
///
66
CmdLineParser::CmdLineParser()
7+
: QCommandLineParser()
78
{
89
QCommandLineOption helpOption(QStringList() << _help, tr("Displays this help."));
910
addOption(helpOption);

omodsim/cmdlineparser.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33

44
#include <QCommandLineParser>
55

6-
class CmdLineParser : public QCommandLineParser
6+
class CmdLineParser : public QObject, public QCommandLineParser
77
{
8+
Q_OBJECT
9+
810
public:
911
explicit CmdLineParser();
1012

0 commit comments

Comments
 (0)