|
|
|
@ -440,7 +440,7 @@ bool KEducaBuilder::fileSaveAs()
|
|
|
|
|
if ( TQFileInfo( newURL.path() ).extension().isEmpty() ) {
|
|
|
|
|
// No more extensions in filters. We need to get it from the mimetype.
|
|
|
|
|
KMimeType::Ptr mime = KMimeType::mimeType( outputFormat );
|
|
|
|
|
TQString extension = mime->property( "X-KDE-NativeExtension" ).toString();
|
|
|
|
|
TQString extension = mime->property( "X-TDE-NativeExtension" ).toString();
|
|
|
|
|
kdDebug() << "KEducaBuilder::slotFileSaveAs outputFormat=" << outputFormat << " extension=" << extension << endl;
|
|
|
|
|
newURL.setPath( newURL.path() + extension );
|
|
|
|
|
}
|
|
|
|
|