From 44d69b04b5257592639d2a494c448202c86978c2 Mon Sep 17 00:00:00 2001 From: zecke Date: Sun, 20 Jun 2004 19:03:56 +0000 Subject: Use A higher prime number in AppLnk Somehow the Launcher triggers issues with libqpe and MimeType. Due the mix of calling MimeType::clear, MimeType type(doclnk.linkFile()), MimeType::clear the registration of Application was cleared and not reentered due the inner static variable in MimeType::init which was set. Now make sure that if we clear that we will reenter the Application in all cases! --- (limited to 'library/applnk.cpp') diff --git a/library/applnk.cpp b/library/applnk.cpp index 5f7da8e..e9d519e 100644 --- a/library/applnk.cpp +++ b/library/applnk.cpp @@ -1276,7 +1276,7 @@ DocLnkSet::DocLnkSet( const QString &directory, const QString& mimefilter ) : { QDir dir( directory ); mFile = dir.dirName(); - QDict reference; + QDict reference(1021); QStringList subFilter = QStringList::split(";", mimefilter); QValueList mimeFilters; -- cgit v0.9.0.2