D18384: Allow creating directory named '~' and throw a warning before creating it.

Dominik Haumann noreply at phabricator.kde.org
Sun Jan 20 08:24:46 GMT 2019


dhaumann added inline comments.

INLINE COMMENTS

> knewfilemenu.cpp:439
>                                     KMessageBox::NoExec);
> +    } else if (name.operator==(QLatin1String("~"))) {
> +        confirmDialog->setWindowTitle(i18n("Create directory named ~?"));

Please simply write name == QStringLiteral (...) instead of operator==. Same below.

REPOSITORY
  R241 KIO

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

To: shubham, ngraham
Cc: dhaumann, kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190120/1f5fccfe/attachment.html>


More information about the Kde-frameworks-devel mailing list