mirror of
https://bitbucket.org/smil3y/kde-playground.git
synced 2025-02-23 18:32:51 +00:00
kman: associate with application/x-troff-man MIME type
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
b08c3b5364
commit
6e77c7aabf
2 changed files with 2 additions and 2 deletions
|
@ -7,4 +7,4 @@ Exec=kman --icon '%i' --caption '%c' %U
|
|||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Qt;KDE;System;Viewer;Documentation;
|
||||
MimeType=text/troff;
|
||||
MimeType=text/troff;application/x-troff-man;
|
||||
|
|
|
@ -242,7 +242,7 @@ void KManMainWindow::changePath(const QString &path) {
|
|||
}
|
||||
|
||||
void KManMainWindow::slotOpenAction() {
|
||||
const QString path = KFileDialog::getOpenFileName(KUrl(), QLatin1String("text/troff"), this, i18n("Manual page path"));
|
||||
const QString path = KFileDialog::getOpenFileName(KUrl(), QLatin1String("text/troff application/x-troff-man"), this, i18n("Manual page path"));
|
||||
if (!path.isEmpty()) {
|
||||
changePath(path);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue