Skip to content
Snippets Groups Projects
Commit e0a2d8ee authored by Kai Koehne's avatar Kai Koehne
Browse files

QmlProfilerTool: Take -recordStart parameter into account

Change-Id: Ib371e73d7416409e5c102155efbd0257676567f4
Reviewed-on: http://codereview.qt.nokia.com/3497


Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarChristiaan Janssen <christiaan.janssen@nokia.com>
parent dc175463
No related branches found
No related tags found
No related merge requests found
......@@ -80,7 +80,6 @@ QmlProfilerApplication::QmlProfilerApplication(int &argc, char **argv) :
m_tracePrefix("trace"),
m_hostName(QLatin1String("127.0.0.1")),
m_port(3768),
m_recordFromStart(false),
m_verbose(false),
m_quitAfterSave(false),
m_traceClient(&m_connection),
......@@ -139,7 +138,7 @@ bool QmlProfilerApplication::parseArguments()
return false;
}
} else if (arg == "-fromStart") {
m_recordFromStart = true;
m_traceClient.setRecording(true);
} else if (arg == "-help" || arg == "-h" || arg == "/h" || arg == "/?") {
return false;
} else if (arg == "-verbose" || arg == "-v") {
......
......@@ -92,7 +92,6 @@ private:
QString m_hostName;
quint16 m_port;
bool m_recordFromStart;
bool m_verbose;
bool m_quitAfterSave;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment