openbsd-ports/x11/kde4/libs/patches/patch-kio_kfile_kpropertiesdialog_cpp

14 lines
652 B
Plaintext

$OpenBSD: patch-kio_kfile_kpropertiesdialog_cpp,v 1.2 2014/07/11 11:13:10 zhuk Exp $
Deconflict kde-runtime with kdebase-3.x.
--- kio/kfile/kpropertiesdialog.cpp.orig Sun Jun 8 15:41:32 2014
+++ kio/kfile/kpropertiesdialog.cpp Fri Jul 11 09:12:20 2014
@@ -1142,7 +1142,7 @@ void KFilePropsPlugin::slotEditFileType()
} else {
mime = d->mimeType;
}
- QString keditfiletype = QString::fromLatin1("keditfiletype");
+ QString keditfiletype = QString::fromLatin1("keditfiletype4");
KRun::runCommand( keditfiletype
#ifdef Q_WS_X11
+ " --parent " + QString::number( (ulong)properties->window()->winId())