[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/ioslaves/kio_magnet
From: Christian Weilbach <christian () whiletaker ! homeip ! net>
Date: 2010-11-10 16:26:37
Message-ID: 20101110162637.68AADAC89E () svn ! kde ! org
[Download RAW message or body]
SVN commit 1195237 by weilbach:
Fix mimetype signal.
M +2 -2 kio_magnet.cpp
--- trunk/playground/ioslaves/kio_magnet/kio_magnet.cpp #1195236:1195237
@@ -120,7 +120,7 @@
totalSize( m_size );
m_size = -1;
}
- usleep (100);
+ usleep (finished_sleep);
}
}
@@ -135,7 +135,7 @@
bool emitMimetype=true;
qint64 ps = 0;
while (!file.atEnd()) {
- if (ps>32 && emitMimetype ) {
+ if (m_ktorrentDBusInterface->seek(1024) && emitMimetype ) {
KMimeType::Ptr mt = KMimeType::findByUrl( m_path, 0, true /* local URL */ );
kDebug() << "mimetype: " << mt->name();
emit mimeType( mt->name() );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic