Commit 507c365b authored by Pino Toscano's avatar Pino Toscano
Browse files

export correctly so it can be started by klauncher

use the correct types (uint -> int)

svn path=/branches/work/kde4/playground/graphics/okular/; revision=546158
parent ed7d1d8a
......@@ -35,7 +35,7 @@ using namespace KIO;
extern "C"
{
int kdemain( int argc, char **argv )
int KDE_EXPORT kdemain( int argc, char **argv )
{
kDebug() << "*** kio_msits Init" << endl;
......@@ -277,9 +277,9 @@ void ProtocolMSITS::listDir (const KUrl & url)
// totalFiles(listing.size());
UDSEntry entry;
unsigned int striplength = filepath.length();
int striplength = filepath.length();
for ( unsigned int i = 0; i < listing.size(); i++ )
for ( int i = 0; i < listing.size(); i++ )
{
// Strip the direcroty name
QString ename = listing[i].mid (striplength);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment