Diffusion KIO 54298c16f37a

Present error dialog when user tries to create directory named "." or ".."

Authored by tmarshall on Jul 29 2018, 7:14 PM.

Description

Present error dialog when user tries to create directory named "." or ".."

Summary:
BUG: 387449

In Dolphin, when a user tries to create a folder named "." or "..", they are presented with a dialog that informs them that since the folder name they entered begins with a ".", the folder they are about to create will be hidden. This is, of course, misleading. This patch instead presents them with a similar dialog, informing them of the error and asking them for a new name.

Before:

After:

Reviewers: Dolphin, Frameworks, ngraham, dfaure, elvisangelaccio

Reviewed By: Dolphin, ngraham, elvisangelaccio

Subscribers: cfeck, elvisangelaccio, dfaure, tmarshall, bruns, ngraham, kde-frameworks-devel

Tags: Frameworks, Dolphin

Differential Revision: https://phabricator.kde.org/D13805