aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/kdf/files/patch-ark-tar.cpp
blob: 0c88c38fcd9e6a06c9d26b161be22d4c09a880a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ark/tar.cpp.orig    Thu Apr 15 21:48:14 2004
+++ ark/tar.cpp Thu Apr 15 21:49:21 2004
@@ -81,7 +81,7 @@
 
     m_fileMimeType = _openAsMimeType;
     if ( m_fileMimeType.isNull() )
-        m_fileMimeType = KMimeType::findByFileContent( _filename )->name();
+        m_fileMimeType = KMimeType::findByPath( _filename )->name();
 
     kdDebug(1601) << "TarArch::TarArch:  mimetype is " << m_fileMimeType << endl;