aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmlprofiler/qmlprofilerapplication.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2015-05-18 17:43:25 +0200
committerUlf Hermann <ulf.hermann@theqtcompany.com>2015-05-21 12:54:40 +0000
commitbb085ff9272acd1ee8cb52d0c7b1e2d2a9116878 (patch)
tree2c0edfd8858faa9e485c57c28a0ae0dbc6ca932f /tools/qmlprofiler/qmlprofilerapplication.h
parentfa785edbec74bd9201ed80c25ba582978c05a803 (diff)
qmlprofiler: Add some sanity to command line parsing.
Use QCommandLineParser to allow for double-dash options and improve the help text. Task-number: QTBUG-43066 Change-Id: Iac772cbbf750016a9058658c9b4b275faf8fb62f Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'tools/qmlprofiler/qmlprofilerapplication.h')
-rw-r--r--tools/qmlprofiler/qmlprofilerapplication.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/qmlprofiler/qmlprofilerapplication.h b/tools/qmlprofiler/qmlprofilerapplication.h
index 7e7cebfcf1..aa63f54dc3 100644
--- a/tools/qmlprofiler/qmlprofilerapplication.h
+++ b/tools/qmlprofiler/qmlprofilerapplication.h
@@ -48,8 +48,7 @@ public:
QmlProfilerApplication(int &argc, char **argv);
~QmlProfilerApplication();
- bool parseArguments();
- void printUsage();
+ void parseArguments();
int exec();
public slots: