claim support for application/vnd.kde.okular-archive in the correct way, ie via .desktop files

thanks Albert for waking me up

svn path=/trunk/KDE/kdegraphics/okular/; revision=884982
remotes/origin/old/work/record-presentation
Pino Toscano 18 years ago
parent bfa8bd7a5a
commit e5b13e2d5b
  1. 2
      core/document.cpp
  2. 1
      okular_part.desktop
  3. 1
      shell/okular.desktop
  4. 2
      shell/shell.cpp

@ -3050,8 +3050,6 @@ QStringList Document::supportedMimeTypes() const
d->m_supportedMimeTypes.append( mimeType );
}
d->m_supportedMimeTypes.append( "application/vnd.kde.okular-archive" );
return d->m_supportedMimeTypes;
}

@ -5,3 +5,4 @@ Name[x-test]=xxOkularxx
X-KDE-ServiceTypes=KParts/ReadOnlyPart
X-KDE-Library=okularpart
Type=Service
MimeType=application/vnd.kde.okular-archive;

@ -52,3 +52,4 @@ Type=Application
X-DocPath=okular/index.html
InitialPreference=7
Categories=Qt;KDE;Graphics;Viewer;
MimeType=application/vnd.kde.okular-archive;

@ -220,8 +220,6 @@ QStringList Shell::fileFormats() const
supportedPatterns.append( mimeType );
}
supportedPatterns.append( "application/vnd.kde.okular-archive" );
return supportedPatterns;
}

Loading…
Cancel
Save