Check-in [52bbf539a1]

Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fixed bug: when calling RR2 from CLI it continue running after killing app.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:52bbf539a11a72fcde56c32eff9184304d6233b4
User & Date: avi 2014-07-10 22:03:28
Context
2014-09-19
09:48
Added full report creation using cli arg -report check-in: 7c1d5a319f user: avi tags: trunk
2014-07-10
22:03
Fixed bug: when calling RR2 from CLI it continue running after killing app. check-in: 52bbf539a1 user: avi tags: trunk
2014-03-20
20:25
Fixed the screenshot path bug, HTML file is now generated successfully. check-in: fe44eddc97 user: azadok tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to RapidReporter2/cliparser.cpp.

25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
..
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78

    QString firstArg = (QString)argv[1];

    // Parse help
    if (helpStrings.contains(firstArg,Qt::CaseInsensitive))
    {
        emit(CliParser::EmitShowHelp());
        return;
    }

    // Parse html convertion
    else if (firstArg == TO_HTML)
    {
        if (argc < 3)
        {
................................................................................
               emit(CliParser::EmitConvertCsvToHtml(csvFileName));
            }
            else {
                qDebug() << csvFileName << " - There is no such file!!!\n";
                EmitLogMsg(csvFileName +" - There is no such file!!!\n" );
            }
        }
        return;
    }

    // Parse report generator
    else if (firstArg == REPORT)
    {
        emit(CliParser::EmitGenerateFullReport());
        return;
    }


    // Parse change directory
    else if (firstArg == CHANGE_TARGET_DIRECTORY){

        if (argc < 3)







|







 







|






|







25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
..
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78

    QString firstArg = (QString)argv[1];

    // Parse help
    if (helpStrings.contains(firstArg,Qt::CaseInsensitive))
    {
        emit(CliParser::EmitShowHelp());
        exit(0);
    }

    // Parse html convertion
    else if (firstArg == TO_HTML)
    {
        if (argc < 3)
        {
................................................................................
               emit(CliParser::EmitConvertCsvToHtml(csvFileName));
            }
            else {
                qDebug() << csvFileName << " - There is no such file!!!\n";
                EmitLogMsg(csvFileName +" - There is no such file!!!\n" );
            }
        }
        exit(0);
    }

    // Parse report generator
    else if (firstArg == REPORT)
    {
        emit(CliParser::EmitGenerateFullReport());
        exit(0);
    }


    // Parse change directory
    else if (firstArg == CHANGE_TARGET_DIRECTORY){

        if (argc < 3)