if the mimetype of an opened document could not be determined through KMimeType:...
authorDavid nolden <david.nolden.kde@art-master.de>
Wed, 15 Sep 2010 11:19:46 +0000 (13:19 +0200)
committerDavid nolden <david.nolden.kde@art-master.de>
Wed, 15 Sep 2010 11:19:46 +0000 (13:19 +0200)
commit975bf6faba9a52a6aa29d8f669c944c99cdb26c7
treec791f107978e90733359d7e2cb3317258c6e6532
parentf33c77310fb4a5fd394af20b13519a675e2c0e77
if the mimetype of an opened document could not be determined through KMimeType::findByUrl, try again with a KIO::MimeTypeJob. This job can also look at the contents of _remote_ files, and thus avoids annoying "Do you want to open the file as plain text" message-boxes when opening remote text files.
shell/documentcontroller.cpp