Review Request 127109: Fix erroneous line when executing via command line

Albert Astals Cid aacid at kde.org
Thu Feb 18 19:25:56 UTC 2016


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127109/#review92536
-----------------------------------------------------------


Ship it!




Ship It!

- Albert Astals Cid


On Feb. 18, 2016, 2:05 p.m., Dimitris Kardarakos wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/127109/
> -----------------------------------------------------------
> 
> (Updated Feb. 18, 2016, 2:05 p.m.)
> 
> 
> Review request for KDE Edu.
> 
> 
> Repository: parley
> 
> 
> Description
> -------
> 
> Fix erroneous line when executing via command line.
> 
> 
> Diffs
> -----
> 
>   src/main.cpp b94866c 
> 
> Diff: https://git.reviewboard.kde.org/r/127109/diff/
> 
> 
> Testing
> -------
> 
> Executing parley via command line, with -h argument, the below message is presented.
> 
> $ parley -h
> 
> QCoreApplication::arguments: Please instantiate the QApplication object first
> 
> Usage: parley [options] [file]
> 
> Vocabulary Trainer
> 
> Options:
> 
>   -v, --version              Displays version information.
>   -h, --help                 Displays this help.
>   --author                   Show author information.
>   --license                  Show license information.
>   --desktopfile <file name>  The base file name of the desktop entry for this
>                              application.
> Arguments:
>   [file]                     Document file to open
> 
> Moving the QApplication initialization to the first line, the erroneous line: 
> 
> "QCoreApplication::arguments: Please instantiate the QApplication object first" 
> 
> is not displayed.
> 
> $ parley -h
> Usage: parley [options] [file]
> Vocabulary Trainer
> 
> Options:
>   -v, --version              Displays version information.
>   -h, --help                 Displays this help.
>   --author                   Show author information.
>   --license                  Show license information.
>   --desktopfile <file name>  The base file name of the desktop entry for this
>                              application.
> 
> Arguments:
>   [file]                     Document file to open
> 
> 
> Thanks,
> 
> Dimitris Kardarakos
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20160218/85957697/attachment.html>


More information about the kde-edu mailing list