[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/ioslaves/kio_torrent
From:       Christian Weilbach <christian () whiletaker ! homeip ! net>
Date:       2010-09-04 15:53:30
Message-ID: 20100904155330.AB154AC884 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1171593 by weilbach:

Refix mimetype.


 M  +1 -1      kio_torrent.cpp  


--- trunk/playground/ioslaves/kio_torrent/kio_torrent.cpp #1171592:1171593
@@ -126,7 +126,7 @@
 
     KMimeType::Ptr mt = KMimeType::findByUrl( m_path, 0, true /* local URL */ );
     kDebug() << "mimetype: " << mt->name();
-    emit mimeType( "unknown" );
+    emit mimeType( mt->name() );
 
     QFile file(m_path);
     if (!file.open(QIODevice::ReadOnly)) {
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic