From kde-commits Mon Aug 28 15:34:16 2006 From: Nikolas Zimmermann Date: Mon, 28 Aug 2006 15:34:16 +0000 To: kde-commits Subject: KDE/kdelibs/kioslave/file Message-Id: <1156779256.404035.469.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=115677928229185 SVN commit 578163 by wildfox: Apply the same fix David used for kio_http, to get rid of: "QSocketNotifier: Can only be used with threads started with QThread" M +3 -0 file.cc --- trunk/KDE/kdelibs/kioslave/file/file.cc #578162:578163 @@ -65,6 +65,7 @@ #include #include +#include #include #include @@ -107,6 +108,8 @@ extern "C" int KDE_EXPORT kdemain( int argc, char **argv ) { KLocale::setMainCatalog("kdelibs"); + + QCoreApplication app( argc, argv ); // needed for QSocketNotifier KInstance instance( "kio_file" ); ( void ) KGlobal::locale();