Review Request 126049: [plasma-nm] optimize string operations

Lamarque Souza lamarque at kde.org
Fri Nov 13 22:09:40 UTC 2015


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



kded/secretagent.cpp (line 167)
<https://git.reviewboard.kde.org/r/126049/#comment60575>

    Any reason for not using QStringLiteral with contains() method?


- Lamarque Souza


On Nov. 13, 2015, 9:50 p.m., Nick Shaforostoff wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/126049/
> -----------------------------------------------------------
> 
> (Updated Nov. 13, 2015, 9:50 p.m.)
> 
> 
> Review request for Network Management, Jan Grulich and Lamarque Souza.
> 
> 
> Repository: plasma-nm
> 
> 
> Description
> -------
> 
> apart from qstringliteral/qlatin1string/qstringref related optimization,
> i have changed context menu code from exec() to popup() and made it delete itself once the menu is closed
> 
> also note the simplicity of using chop() instead of remove()
> 
> 
> Diffs
> -----
> 
>   editor/connectioneditor.cpp 0eaeafe 
>   editor/main.cpp a5ec1e2 
>   kded/notification.cpp 508443e 
>   kded/passworddialog.cpp 56db793 
>   kded/pindialog.cpp 83553f0 
>   kded/secretagent.cpp 5fc3ee4 
>   kded/service.cpp 8b4048d 
>   libs/editor/simpleipv4addressvalidator.cpp 1e7f240 
>   libs/editor/simpleipv6addressvalidator.cpp 5b87d69 
>   libs/editor/vpnuiplugin.cpp 1dd7b53 
>   libs/models/networkmodelitem.cpp 5182f04 
>   libs/uiutils.cpp 7ad2903 
>   vpn/openconnect/openconnectauth.cpp a987031 
> 
> Diff: https://git.reviewboard.kde.org/r/126049/diff/
> 
> 
> Testing
> -------
> 
> compiled and launched, opened connection context menu
> 
> 
> Thanks,
> 
> Nick Shaforostoff
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-networkmanager/attachments/20151113/2035d384/attachment.html>


More information about the kde-networkmanager mailing list