diff --git a/src/mirall/application.cpp b/src/mirall/application.cpp index 2c4fe7a9b8..146ae6b14c 100644 --- a/src/mirall/application.cpp +++ b/src/mirall/application.cpp @@ -48,10 +48,6 @@ #include #include -#ifdef Q_OS_LINUX -#include -#endif - namespace Mirall { // application logging handler. @@ -105,16 +101,6 @@ Application::Application(int &argc, char **argv) : //no need to waste time; if ( _helpOnly ) return; -#ifdef Q_OS_LINUX - // HACK: bump the refcount for libgnutls by calling dlopen() - // so gnutls, which is an dependency of libneon on some linux - // distros, and does not cleanup it's FDs properly, does - // not get unloaded. This works around a FD exhaustion crash - // (#154). We are not using gnutls at all and it's fine - // if loading fails, so no error handling is performed here. - dlopen("libgnutls.so", RTLD_LAZY|RTLD_NODELETE); -#endif - connect( this, SIGNAL(messageReceived(QString)), SLOT(slotParseOptions(QString))); connect( Logger::instance(), SIGNAL(guiLog(QString,QString)), this, SLOT(slotShowTrayMessage(QString,QString)));