diff -r b72c6db6890b -r 5dc02b23752f src/network/socket/qlocalsocket_unix.cpp --- a/src/network/socket/qlocalsocket_unix.cpp Wed Jun 23 19:07:03 2010 +0300 +++ b/src/network/socket/qlocalsocket_unix.cpp Tue Jul 06 15:10:48 2010 +0300 @@ -52,9 +52,9 @@ #include #include -#include #include #include +#include #ifdef Q_OS_VXWORKS # include @@ -534,7 +534,7 @@ int result = -1; // on Linux timeout will be updated by select, but _not_ on other systems. - QTime timer; + QElapsedTimer timer; timer.start(); while (state() == ConnectingState && (-1 == msec || timer.elapsed() < msec)) {