summaryrefslogtreecommitdiffstats
path: root/src/network/access
diff options
context:
space:
mode:
authorPeter Hartmann <peter.hartmann@nokia.com>2011-01-07 15:17:13 (GMT)
committerPeter Hartmann <peter.hartmann@nokia.com>2011-01-07 15:20:28 (GMT)
commit362a61cd821144141324d99cdbaf1ddd858076d9 (patch)
tree49e91d54b25046834001bc0d9874eb41de4741bc /src/network/access
parent5c8238d425a66072c8048a8c13f5bb0a1fbceac2 (diff)
downloadQt-362a61cd821144141324d99cdbaf1ddd858076d9.zip
Qt-362a61cd821144141324d99cdbaf1ddd858076d9.tar.gz
Qt-362a61cd821144141324d99cdbaf1ddd858076d9.tar.bz2
fix build with QT_NO_BEARERMANAGEMENT
start() is only defined when using bearer management; that method calls open(), which we just call directly if not using bearer. Reviewed-by: Markus Goetz Task-number: QTBUG-16477
Diffstat (limited to 'src/network/access')
-rw-r--r--src/network/access/qnetworkaccessdatabackend.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/network/access/qnetworkaccessdatabackend.cpp b/src/network/access/qnetworkaccessdatabackend.cpp
index 74aebdb..d2db2f2 100644
--- a/src/network/access/qnetworkaccessdatabackend.cpp
+++ b/src/network/access/qnetworkaccessdatabackend.cpp
@@ -124,7 +124,11 @@ bool QNetworkAccessDataBackend::waitForUpstreamBytesWritten(int)
bool QNetworkAccessDataBackend::processRequestSynchronously()
{
+#ifndef QT_NO_BEARERMANAGEMENT
start();
+#else
+ open();
+#endif
return true;
}