Check if the name returned by QInputDialog is not empty

Authored by ltoscano on Sep 3 2017, 1:10 PM.

Description

Check if the name returned by QInputDialog is not empty

Relevant difference from KInputDialog::getText: an empty value
is accepted. Thanks to Christoph Feck for noticing.

A similar change was not applied to the converted ::getItem
method because the logic is a bit different, and an empty or invalid
value was accepted.

Details

Committed
ltoscanoSep 3 2017, 1:10 PM
Parents
R443:3d37f974faa7: Port from KInputDialog to QInputDialog
Branches
Unknown
Tags
Unknown