D6197: Add basic KAuth support to file ioslave

Elvis Angelaccio noreply at phabricator.kde.org
Wed Jun 21 21:37:49 UTC 2017


elvisangelaccio added a comment.


  Looks good to me now, just minor issues.

INLINE COMMENTS

> file.cpp:1407-1408
> +{
> +    int status = messageBox(WarningContinueCancel, warningMessage(warnId), QStringLiteral("Warning!"),
> +                            QStringLiteral("Continue"), QStringLiteral("Cancel"));
> +    return status != 2;

Missing i18n() here

> file.cpp:1409
> +                            QStringLiteral("Continue"), QStringLiteral("Cancel"));
> +    return status != 2;
> +}

Use `ButtonCode::Cancel` rather than hardcoding 2

REPOSITORY
  R241 KIO

REVISION DETAIL
  https://phabricator.kde.org/D6197

To: chinmoyr, elvisangelaccio, #frameworks, dfaure
Cc: eliasp, aacid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170621/88f3588e/attachment.html>


More information about the Kde-frameworks-devel mailing list