- 
    
Bug
 - 
    Resolution: Done
 - 
    
P4: Low
 - 
    5.1.1
 - 
    None
 
- 
        be72ea7e35d611c9fef453b1e7dd36f89d166ff7
 
Using the widgets rich text editor example, it is not possible to save the content to a file.
To reproduce:
- Launch the example
 - Modify some text
 - press the Save button
=>Using the save button creates the message:QTextDocumentWriter::write: the device can not be opened for writing 
- then using the Save As button generates:
(textedit:25438): Gtk-WARNING **: Unable to retrieve the file info for `file:///home/caroline/Qt5.1.1_offE140/5.1.1/gcc_64/examples/widgets/richtext/build-textedit-Desktop_Qt_5_1_1_GCC_64bit-Debug/mytextfile': Error stating file '/home/caroline/Qt5.1.1_offE140/5.1.1/gcc_64/examples/widgets/richtext/build-textedit-Desktop_Qt_5_1_1_GCC_64bit-Debug/mytextfile': No such file or directory