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();