[Kde-games-devel] Review Request 125992: fix homepage link: Insert empty otherText in KAboutData constructor

Frederik Schwarzer schwarzer at kde.org
Wed Nov 11 08:19:38 UTC 2015



> On Nov. 8, 2015, 2:13 a.m., Frederik Schwarzer wrote:
> > src/main.cpp, line 50
> > <https://git.reviewboard.kde.org/r/125992/diff/1/?file=415723#file415723line50>
> >
> >     I know, not directly related to your change, but maybe Jakob can answer, why the link goes projects.kde.org, while there is something more colourful like https://games.kde.org/picmi ? :)
> >     
> >     Other than that, your fix is valid. ... ... although :D
> >     
> >     It might be more readable to give the constructor only everything until the copyright info and then use .setHomepage() to set the URL.
> >     
> >     Here the (simplified) code from KShisen:
> >     
> >     ```c++
> >     KAboutData aboutData(QStringLiteral("kshisen"), i18n("Shisen-Sho"),
> >     QStringLiteral(KSHISEN_VERSION),
> >     i18n(description), KAboutLicense::GPL,
> >     i18n("(c)"));
> >     
> >     aboutData.setHomepage(QStringLiteral("http://games.kde.org/kshisen"));
> >     ```

Since Jakob does notr seem to read this, can you please try to reach him directly?

As for the link fix change, please commit it. Either in your version or mine, whatever feels better to you.


- Frederik


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


On Nov. 8, 2015, 1:33 a.m., Martin Walch wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/125992/
> -----------------------------------------------------------
> 
> (Updated Nov. 8, 2015, 1:33 a.m.)
> 
> 
> Review request for KDE Games.
> 
> 
> Repository: picmi
> 
> 
> Description
> -------
> 
> The hyperlink in >Help >About Picmi does not work, because the hyperlink
> is put in the place of the additional free form text for that dialog.
> 
> This was probably an accident in commit 7ab84ae5b3a... when porting to
> KF5. Fix it by inserting a QString().
> 
> 
> Diffs
> -----
> 
>   src/main.cpp ec3c5f259bfa4b2e76b3f14231ce79eebd1b7fae 
> 
> Diff: https://git.reviewboard.kde.org/r/125992/diff/
> 
> 
> Testing
> -------
> 
> Compiling, Running. Clicking on the hyperlink.
> 
> 
> Thanks,
> 
> Martin Walch
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-games-devel/attachments/20151111/d25e2fb0/attachment.html>


More information about the kde-games-devel mailing list